quasardb 3.14.2.dev4__cp311-cp311-macosx_11_0_arm64.whl → 3.14.2.dev5__cp311-cp311-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of quasardb might be problematic. Click here for more details.
- quasardb/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
- quasardb/Makefile +19 -19
- quasardb/__init__.py +21 -7
- quasardb/cmake_install.cmake +4 -4
- quasardb/date/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
- quasardb/date/Makefile +19 -19
- quasardb/date/cmake_install.cmake +4 -4
- quasardb/extensions/writer.py +59 -61
- quasardb/firehose.py +24 -22
- quasardb/libqdb_api.dylib +0 -0
- quasardb/numpy/__init__.py +181 -120
- quasardb/pandas/__init__.py +142 -91
- quasardb/pool.py +13 -2
- quasardb/pybind11/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
- quasardb/pybind11/Makefile +19 -19
- quasardb/pybind11/cmake_install.cmake +1 -1
- quasardb/quasardb.cpython-311-darwin.so +0 -0
- quasardb/range-v3/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
- quasardb/range-v3/CMakeFiles/range.v3.headers.dir/build.make +16 -16
- quasardb/range-v3/Makefile +24 -24
- quasardb/range-v3/cmake_install.cmake +7 -7
- quasardb/stats.py +92 -80
- quasardb/table_cache.py +5 -1
- {quasardb-3.14.2.dev4.dist-info → quasardb-3.14.2.dev5.dist-info}/METADATA +1 -1
- {quasardb-3.14.2.dev4.dist-info → quasardb-3.14.2.dev5.dist-info}/RECORD +28 -28
- {quasardb-3.14.2.dev4.dist-info → quasardb-3.14.2.dev5.dist-info}/LICENSE.md +0 -0
- {quasardb-3.14.2.dev4.dist-info → quasardb-3.14.2.dev5.dist-info}/WHEEL +0 -0
- {quasardb-3.14.2.dev4.dist-info → quasardb-3.14.2.dev5.dist-info}/top_level.txt +0 -0
|
@@ -44,10 +44,10 @@ cmake_force:
|
|
|
44
44
|
SHELL = /bin/sh
|
|
45
45
|
|
|
46
46
|
# The CMake executable.
|
|
47
|
-
CMAKE_COMMAND = /Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
47
|
+
CMAKE_COMMAND = /Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake
|
|
48
48
|
|
|
49
49
|
# The command to remove a file.
|
|
50
|
-
RM = /Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
50
|
+
RM = /Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake -E rm -f
|
|
51
51
|
|
|
52
52
|
# Escaping for special characters.
|
|
53
53
|
EQUALS = =
|
|
@@ -56,31 +56,31 @@ EQUALS = =
|
|
|
56
56
|
CMAKE_SOURCE_DIR = /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/quasardb
|
|
57
57
|
|
|
58
58
|
# The top-level build directory on which CMake was run.
|
|
59
|
-
CMAKE_BINARY_DIR = /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
59
|
+
CMAKE_BINARY_DIR = /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311
|
|
60
60
|
|
|
61
61
|
# Utility rule file for range.v3.headers.
|
|
62
62
|
|
|
63
63
|
# Include any custom commands dependencies for this target.
|
|
64
|
-
include /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
64
|
+
include /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/compiler_depend.make
|
|
65
65
|
|
|
66
66
|
# Include the progress variables for this target.
|
|
67
|
-
include /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
67
|
+
include /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/progress.make
|
|
68
68
|
|
|
69
|
-
/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
70
|
-
.PHONY : /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
69
|
+
/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/codegen:
|
|
70
|
+
.PHONY : /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/codegen
|
|
71
71
|
|
|
72
|
-
range.v3.headers: /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
72
|
+
range.v3.headers: /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/build.make
|
|
73
73
|
.PHONY : range.v3.headers
|
|
74
74
|
|
|
75
75
|
# Rule to build all files generated by this target.
|
|
76
|
-
/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
77
|
-
.PHONY : /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
76
|
+
/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/build: range.v3.headers
|
|
77
|
+
.PHONY : /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/build
|
|
78
78
|
|
|
79
|
-
/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
80
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
81
|
-
.PHONY : /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
79
|
+
/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/clean:
|
|
80
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3 && $(CMAKE_COMMAND) -P CMakeFiles/range.v3.headers.dir/cmake_clean.cmake
|
|
81
|
+
.PHONY : /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/clean
|
|
82
82
|
|
|
83
|
-
/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
84
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
85
|
-
.PHONY : /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
83
|
+
/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/depend:
|
|
84
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/quasardb /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/range-v3 /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3 /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/DependInfo.cmake "--color=$(COLOR)"
|
|
85
|
+
.PHONY : /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/depend
|
|
86
86
|
|
quasardb/range-v3/Makefile
CHANGED
|
@@ -48,10 +48,10 @@ cmake_force:
|
|
|
48
48
|
SHELL = /bin/sh
|
|
49
49
|
|
|
50
50
|
# The CMake executable.
|
|
51
|
-
CMAKE_COMMAND = /Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
51
|
+
CMAKE_COMMAND = /Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake
|
|
52
52
|
|
|
53
53
|
# The command to remove a file.
|
|
54
|
-
RM = /Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
54
|
+
RM = /Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake -E rm -f
|
|
55
55
|
|
|
56
56
|
# Escaping for special characters.
|
|
57
57
|
EQUALS = =
|
|
@@ -60,7 +60,7 @@ EQUALS = =
|
|
|
60
60
|
CMAKE_SOURCE_DIR = /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/quasardb
|
|
61
61
|
|
|
62
62
|
# The top-level build directory on which CMake was run.
|
|
63
|
-
CMAKE_BINARY_DIR = /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
63
|
+
CMAKE_BINARY_DIR = /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311
|
|
64
64
|
|
|
65
65
|
#=============================================================================
|
|
66
66
|
# Targets provided globally by CMake.
|
|
@@ -68,7 +68,7 @@ CMAKE_BINARY_DIR = /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.m
|
|
|
68
68
|
# Special rule for the target edit_cache
|
|
69
69
|
edit_cache:
|
|
70
70
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake cache editor..."
|
|
71
|
-
/Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
71
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
|
72
72
|
.PHONY : edit_cache
|
|
73
73
|
|
|
74
74
|
# Special rule for the target edit_cache
|
|
@@ -78,7 +78,7 @@ edit_cache/fast: edit_cache
|
|
|
78
78
|
# Special rule for the target rebuild_cache
|
|
79
79
|
rebuild_cache:
|
|
80
80
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
|
|
81
|
-
/Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
81
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
|
82
82
|
.PHONY : rebuild_cache
|
|
83
83
|
|
|
84
84
|
# Special rule for the target rebuild_cache
|
|
@@ -97,49 +97,49 @@ list_install_components/fast: list_install_components
|
|
|
97
97
|
# Special rule for the target install
|
|
98
98
|
install: preinstall
|
|
99
99
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
|
|
100
|
-
/Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
100
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
|
|
101
101
|
.PHONY : install
|
|
102
102
|
|
|
103
103
|
# Special rule for the target install
|
|
104
104
|
install/fast: preinstall/fast
|
|
105
105
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
|
|
106
|
-
/Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
106
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
|
|
107
107
|
.PHONY : install/fast
|
|
108
108
|
|
|
109
109
|
# Special rule for the target install/local
|
|
110
110
|
install/local: preinstall
|
|
111
111
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
|
|
112
|
-
/Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
112
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
|
113
113
|
.PHONY : install/local
|
|
114
114
|
|
|
115
115
|
# Special rule for the target install/local
|
|
116
116
|
install/local/fast: preinstall/fast
|
|
117
117
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
|
|
118
|
-
/Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
118
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
|
119
119
|
.PHONY : install/local/fast
|
|
120
120
|
|
|
121
121
|
# Special rule for the target install/strip
|
|
122
122
|
install/strip: preinstall
|
|
123
123
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
|
|
124
|
-
/Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
124
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
|
125
125
|
.PHONY : install/strip
|
|
126
126
|
|
|
127
127
|
# Special rule for the target install/strip
|
|
128
128
|
install/strip/fast: preinstall/fast
|
|
129
129
|
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
|
|
130
|
-
/Users/teamcity/buildAgent/temp/buildTmp/build-env-
|
|
130
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-k6rf7kt7/lib/python3.11/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
|
131
131
|
.PHONY : install/strip/fast
|
|
132
132
|
|
|
133
133
|
# The main all target
|
|
134
134
|
all: cmake_check_build_system
|
|
135
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
136
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
137
|
-
$(CMAKE_COMMAND) -E cmake_progress_start /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
135
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 && $(CMAKE_COMMAND) -E cmake_progress_start /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311/CMakeFiles /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3//CMakeFiles/progress.marks
|
|
136
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/all
|
|
137
|
+
$(CMAKE_COMMAND) -E cmake_progress_start /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311/CMakeFiles 0
|
|
138
138
|
.PHONY : all
|
|
139
139
|
|
|
140
140
|
# The main clean target
|
|
141
141
|
clean:
|
|
142
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
142
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/clean
|
|
143
143
|
.PHONY : clean
|
|
144
144
|
|
|
145
145
|
# The main clean target
|
|
@@ -148,31 +148,31 @@ clean/fast: clean
|
|
|
148
148
|
|
|
149
149
|
# Prepare targets for installation.
|
|
150
150
|
preinstall: all
|
|
151
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
151
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/preinstall
|
|
152
152
|
.PHONY : preinstall
|
|
153
153
|
|
|
154
154
|
# Prepare targets for installation.
|
|
155
155
|
preinstall/fast:
|
|
156
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
156
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/preinstall
|
|
157
157
|
.PHONY : preinstall/fast
|
|
158
158
|
|
|
159
159
|
# clear depends
|
|
160
160
|
depend:
|
|
161
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
161
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
|
162
162
|
.PHONY : depend
|
|
163
163
|
|
|
164
164
|
# Convenience name for target.
|
|
165
|
-
/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
166
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
167
|
-
.PHONY : /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
165
|
+
/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/rule:
|
|
166
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/rule
|
|
167
|
+
.PHONY : /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/rule
|
|
168
168
|
|
|
169
169
|
# Convenience name for target.
|
|
170
|
-
range.v3.headers: /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
170
|
+
range.v3.headers: /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/rule
|
|
171
171
|
.PHONY : range.v3.headers
|
|
172
172
|
|
|
173
173
|
# fast build rule for target.
|
|
174
174
|
range.v3.headers/fast:
|
|
175
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
175
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 && $(MAKE) $(MAKESILENT) -f /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/build.make /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range.v3.headers.dir/build
|
|
176
176
|
.PHONY : range.v3.headers/fast
|
|
177
177
|
|
|
178
178
|
# Help Target
|
|
@@ -199,6 +199,6 @@ help:
|
|
|
199
199
|
# No rule that depends on this can have commands that come from listfiles
|
|
200
200
|
# because they might be regenerated.
|
|
201
201
|
cmake_check_build_system:
|
|
202
|
-
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-
|
|
202
|
+
cd /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.macosx-15.0-arm64-cpython-311 && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
|
203
203
|
.PHONY : cmake_check_build_system
|
|
204
204
|
|
|
@@ -38,22 +38,22 @@ if(NOT DEFINED CMAKE_OBJDUMP)
|
|
|
38
38
|
endif()
|
|
39
39
|
|
|
40
40
|
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
41
|
-
include("/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
41
|
+
include("/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range-v3-concepts.dir/install-cxx-module-bmi-Release.cmake" OPTIONAL)
|
|
42
42
|
endif()
|
|
43
43
|
|
|
44
44
|
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
45
|
-
include("/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
45
|
+
include("/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range-v3-meta.dir/install-cxx-module-bmi-Release.cmake" OPTIONAL)
|
|
46
46
|
endif()
|
|
47
47
|
|
|
48
48
|
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
49
|
-
include("/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
49
|
+
include("/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/range-v3.dir/install-cxx-module-bmi-Release.cmake" OPTIONAL)
|
|
50
50
|
endif()
|
|
51
51
|
|
|
52
52
|
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
53
53
|
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/range-v3/range-v3-targets.cmake")
|
|
54
54
|
file(DIFFERENT _cmake_export_file_changed FILES
|
|
55
55
|
"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/range-v3/range-v3-targets.cmake"
|
|
56
|
-
"/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
56
|
+
"/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/Export/d94ef200eca10a819b5858b33e808f5b/range-v3-targets.cmake")
|
|
57
57
|
if(_cmake_export_file_changed)
|
|
58
58
|
file(GLOB _cmake_old_config_files "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/range-v3/range-v3-targets-*.cmake")
|
|
59
59
|
if(_cmake_old_config_files)
|
|
@@ -66,12 +66,12 @@ if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT
|
|
|
66
66
|
endif()
|
|
67
67
|
unset(_cmake_export_file_changed)
|
|
68
68
|
endif()
|
|
69
|
-
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/range-v3" TYPE FILE FILES "/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
69
|
+
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/range-v3" TYPE FILE FILES "/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/CMakeFiles/Export/d94ef200eca10a819b5858b33e808f5b/range-v3-targets.cmake")
|
|
70
70
|
endif()
|
|
71
71
|
|
|
72
72
|
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
73
73
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/range-v3" TYPE FILE FILES
|
|
74
|
-
"/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
74
|
+
"/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/range-v3-config-version.cmake"
|
|
75
75
|
"/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/range-v3/cmake/range-v3-config.cmake"
|
|
76
76
|
)
|
|
77
77
|
endif()
|
|
@@ -83,6 +83,6 @@ endif()
|
|
|
83
83
|
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
84
84
|
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
85
85
|
if(CMAKE_INSTALL_LOCAL_ONLY)
|
|
86
|
-
file(WRITE "/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-
|
|
86
|
+
file(WRITE "/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-15.0-arm64-cpython-311/quasardb/range-v3/install_local_manifest.txt"
|
|
87
87
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
88
88
|
endif()
|
quasardb/stats.py
CHANGED
|
@@ -3,12 +3,12 @@ import quasardb
|
|
|
3
3
|
import logging
|
|
4
4
|
from datetime import datetime
|
|
5
5
|
|
|
6
|
-
logger = logging.getLogger(
|
|
6
|
+
logger = logging.getLogger("quasardb.stats")
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
stats_prefix =
|
|
10
|
-
user_pattern = re.compile(r
|
|
11
|
-
total_pattern = re.compile(r
|
|
9
|
+
stats_prefix = "$qdb.statistics."
|
|
10
|
+
user_pattern = re.compile(r"\$qdb.statistics.(.*).uid_([0-9]+)$")
|
|
11
|
+
total_pattern = re.compile(r"\$qdb.statistics.(.*)$")
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
def is_user_stat(s):
|
|
@@ -50,92 +50,90 @@ def of_node(dconn):
|
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
52
|
start = datetime.now()
|
|
53
|
-
raw = {
|
|
54
|
-
k: _get_stat(dconn,k) for k in dconn.prefix_get(stats_prefix, 1000)}
|
|
53
|
+
raw = {k: _get_stat(dconn, k) for k in dconn.prefix_get(stats_prefix, 1000)}
|
|
55
54
|
|
|
56
|
-
ret = {
|
|
57
|
-
'cumulative': _cumulative(raw)}
|
|
55
|
+
ret = {"by_uid": _by_uid(raw), "cumulative": _cumulative(raw)}
|
|
58
56
|
|
|
59
57
|
check_duration = datetime.now() - start
|
|
60
58
|
|
|
61
|
-
ret[
|
|
62
|
-
ret[
|
|
59
|
+
ret["cumulative"]["check.online"] = 1
|
|
60
|
+
ret["cumulative"]["check.duration_ms"] = int(check_duration.total_seconds() * 1000)
|
|
63
61
|
|
|
64
62
|
return ret
|
|
65
63
|
|
|
66
|
-
_stat_types = {'node_id': ('constant', None),
|
|
67
|
-
'operating_system': ('constant', None),
|
|
68
|
-
'partitions_count': ('constant', 'count'),
|
|
69
64
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
65
|
+
_stat_types = {
|
|
66
|
+
"node_id": ("constant", None),
|
|
67
|
+
"operating_system": ("constant", None),
|
|
68
|
+
"partitions_count": ("constant", "count"),
|
|
69
|
+
"cpu.system": ("counter", "ns"),
|
|
70
|
+
"cpu.user": ("counter", "ns"),
|
|
71
|
+
"cpu.idle": ("counter", "ns"),
|
|
72
|
+
"startup": ("constant", None),
|
|
73
|
+
"startup_time": ("constant", None),
|
|
74
|
+
"shutdown_time": ("constant", None),
|
|
75
|
+
"network.current_users_count": ("gauge", "count"),
|
|
76
|
+
"hardware_concurrency": ("gauge", "count"),
|
|
77
|
+
"check.online": ("gauge", "count"),
|
|
78
|
+
"check.duration_ms": ("constant", "ms"),
|
|
79
|
+
"requests.bytes_in": ("counter", "bytes"),
|
|
80
|
+
"requests.bytes_out": ("counter", "bytes"),
|
|
81
|
+
"requests.errors_count": ("counter", "count"),
|
|
82
|
+
"requests.successes_count": ("counter", "count"),
|
|
83
|
+
"requests.total_count": ("counter", "count"),
|
|
84
|
+
"async_pipelines.merge.bucket_count": ("counter", "count"),
|
|
85
|
+
"async_pipelines.merge.duration_us": ("counter", "us"),
|
|
86
|
+
"async_pipelines.write.successes_count": ("counter", "count"),
|
|
87
|
+
"async_pipelines.write.failures_count": ("counter", "count"),
|
|
88
|
+
"async_pipelines.write.time_us": ("counter", "us"),
|
|
89
|
+
"async_pipelines.merge.max_bucket_count": ("gauge", "count"),
|
|
90
|
+
"async_pipelines.merge.max_depth_count": ("gauge", "count"),
|
|
91
|
+
"async_pipelines.merge.requests_count": ("counter", "count"),
|
|
92
|
+
"evicted.count": ("counter", "count"),
|
|
93
|
+
"pageins.count": ("counter", "count"),
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
async_pipeline_bytes_pattern = re.compile(
|
|
97
|
+
r"async_pipelines.pipe_[0-9]+.merge_map.bytes"
|
|
98
|
+
)
|
|
99
|
+
async_pipeline_count_pattern = re.compile(
|
|
100
|
+
r"async_pipelines.pipe_[0-9]+.merge_map.count"
|
|
101
|
+
)
|
|
76
102
|
|
|
77
|
-
'network.current_users_count': ('gauge', 'count'),
|
|
78
|
-
'hardware_concurrency': ('gauge', 'count'),
|
|
79
|
-
|
|
80
|
-
'check.online': ('gauge', 'count'),
|
|
81
|
-
'check.duration_ms': ('constant', 'ms'),
|
|
82
|
-
|
|
83
|
-
'requests.bytes_in': ('counter', 'bytes'),
|
|
84
|
-
'requests.bytes_out': ('counter', 'bytes'),
|
|
85
|
-
'requests.errors_count': ('counter', 'count'),
|
|
86
|
-
'requests.successes_count': ('counter', 'count'),
|
|
87
|
-
'requests.total_count': ('counter', 'count'),
|
|
88
|
-
|
|
89
|
-
'async_pipelines.merge.bucket_count': ('counter', 'count'),
|
|
90
|
-
'async_pipelines.merge.duration_us': ('counter', 'us'),
|
|
91
|
-
'async_pipelines.write.successes_count': ('counter', 'count'),
|
|
92
|
-
'async_pipelines.write.failures_count': ('counter', 'count'),
|
|
93
|
-
'async_pipelines.write.time_us': ('counter', 'us'),
|
|
94
|
-
|
|
95
|
-
'async_pipelines.merge.max_bucket_count': ('gauge', 'count'),
|
|
96
|
-
'async_pipelines.merge.max_depth_count': ('gauge', 'count'),
|
|
97
|
-
'async_pipelines.merge.requests_count': ('counter', 'count'),
|
|
98
|
-
|
|
99
|
-
'evicted.count': ('counter', 'count'),
|
|
100
|
-
'pageins.count': ('counter', 'count'),
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
async_pipeline_bytes_pattern = re.compile(r'async_pipelines.pipe_[0-9]+.merge_map.bytes')
|
|
105
|
-
async_pipeline_count_pattern = re.compile(r'async_pipelines.pipe_[0-9]+.merge_map.count')
|
|
106
103
|
|
|
107
104
|
def _stat_type(stat_id):
|
|
108
105
|
if stat_id in _stat_types:
|
|
109
106
|
return _stat_types[stat_id]
|
|
110
|
-
elif stat_id.endswith(
|
|
111
|
-
return (
|
|
112
|
-
elif stat_id.endswith(
|
|
113
|
-
return (
|
|
114
|
-
elif stat_id.endswith(
|
|
115
|
-
return (
|
|
116
|
-
elif stat_id.endswith(
|
|
117
|
-
return (
|
|
118
|
-
elif stat_id.endswith(
|
|
119
|
-
return (
|
|
120
|
-
elif stat_id.startswith(
|
|
121
|
-
return (
|
|
122
|
-
elif stat_id.startswith(
|
|
107
|
+
elif stat_id.endswith("total_ns"):
|
|
108
|
+
return ("counter", "ns")
|
|
109
|
+
elif stat_id.endswith("total_bytes"):
|
|
110
|
+
return ("counter", "bytes")
|
|
111
|
+
elif stat_id.endswith("read_bytes"):
|
|
112
|
+
return ("counter", "bytes")
|
|
113
|
+
elif stat_id.endswith("written_bytes"):
|
|
114
|
+
return ("counter", "bytes")
|
|
115
|
+
elif stat_id.endswith("total_count"):
|
|
116
|
+
return ("counter", "count")
|
|
117
|
+
elif stat_id.startswith("network.sessions."):
|
|
118
|
+
return ("gauge", "count")
|
|
119
|
+
elif stat_id.startswith("memory."):
|
|
123
120
|
# memory statistics are all gauges i think, describes how much memory currently allocated where
|
|
124
|
-
return (
|
|
125
|
-
elif stat_id.startswith(
|
|
121
|
+
return ("gauge", "bytes")
|
|
122
|
+
elif stat_id.startswith("persistence.") or stat_id.startswith("disk"):
|
|
126
123
|
# persistence are also all gauges, describes mostly how much is currently available/used on storage
|
|
127
|
-
return (
|
|
128
|
-
elif stat_id.startswith(
|
|
129
|
-
return (
|
|
130
|
-
elif stat_id.startswith(
|
|
131
|
-
return (
|
|
124
|
+
return ("gauge", "bytes")
|
|
125
|
+
elif stat_id.startswith("license."):
|
|
126
|
+
return ("gauge", None)
|
|
127
|
+
elif stat_id.startswith("engine_"):
|
|
128
|
+
return ("constant", None)
|
|
132
129
|
elif async_pipeline_bytes_pattern.match(stat_id):
|
|
133
|
-
return (
|
|
130
|
+
return ("gauge", "bytes")
|
|
134
131
|
elif async_pipeline_count_pattern.match(stat_id):
|
|
135
|
-
return (
|
|
132
|
+
return ("gauge", "count")
|
|
136
133
|
else:
|
|
137
134
|
return None
|
|
138
135
|
|
|
136
|
+
|
|
139
137
|
def stat_type(stat_id):
|
|
140
138
|
"""
|
|
141
139
|
Returns the statistic type by a stat id. Returns one of:
|
|
@@ -150,22 +148,27 @@ def stat_type(stat_id):
|
|
|
150
148
|
|
|
151
149
|
|
|
152
150
|
def _calculate_delta_stat(stat_id, prev, cur):
|
|
153
|
-
logger.info(
|
|
151
|
+
logger.info(
|
|
152
|
+
"calculating delta for stat_id = {}, prev = {}. cur = {}".format(
|
|
153
|
+
stat_id, prev, cur
|
|
154
|
+
)
|
|
155
|
+
)
|
|
154
156
|
|
|
155
157
|
stat_type = _stat_type(stat_id)
|
|
156
|
-
if stat_type ==
|
|
158
|
+
if stat_type == "counter":
|
|
157
159
|
return cur - prev
|
|
158
|
-
elif stat_type ==
|
|
160
|
+
elif stat_type == "gauge":
|
|
159
161
|
return cur
|
|
160
162
|
else:
|
|
161
163
|
return None
|
|
162
164
|
|
|
165
|
+
|
|
163
166
|
def _calculate_delta_stats(prev_stats, cur_stats):
|
|
164
167
|
ret = {}
|
|
165
168
|
for stat_id in cur_stats.keys():
|
|
166
169
|
try:
|
|
167
170
|
prev_stat = cur_stats[stat_id]
|
|
168
|
-
cur_stat
|
|
171
|
+
cur_stat = cur_stats[stat_id]
|
|
169
172
|
|
|
170
173
|
value = _calculate_delta_stat(stat_id, prev_stat, cur_stat)
|
|
171
174
|
if value is not None:
|
|
@@ -184,16 +187,18 @@ def calculate_delta(prev, cur):
|
|
|
184
187
|
"""
|
|
185
188
|
ret = {}
|
|
186
189
|
for node_id in cur.keys():
|
|
187
|
-
ret[node_id] = _calculate_delta_stats(
|
|
188
|
-
|
|
190
|
+
ret[node_id] = _calculate_delta_stats(
|
|
191
|
+
prev[node_id]["cumulative"], cur[node_id]["cumulative"]
|
|
192
|
+
)
|
|
189
193
|
|
|
190
194
|
return ret
|
|
191
195
|
|
|
196
|
+
|
|
192
197
|
def _clean_blob(x):
|
|
193
|
-
x_ = x.decode(
|
|
198
|
+
x_ = x.decode("utf-8", "replace")
|
|
194
199
|
|
|
195
200
|
# remove trailing zero-terminator
|
|
196
|
-
return
|
|
201
|
+
return "".join(c for c in x_ if ord(c) != 0)
|
|
197
202
|
|
|
198
203
|
|
|
199
204
|
def _get_stat(dconn, k):
|
|
@@ -201,9 +206,16 @@ def _get_stat(dconn, k):
|
|
|
201
206
|
# blob
|
|
202
207
|
try:
|
|
203
208
|
return dconn.integer(k).get()
|
|
209
|
+
|
|
210
|
+
# Older versions of qdb api returned 'alias not found'
|
|
204
211
|
except quasardb.quasardb.AliasNotFoundError:
|
|
205
212
|
return _clean_blob(dconn.blob(k).get())
|
|
206
213
|
|
|
214
|
+
# Since ~ 3.14.2, it returns 'Incompatible Type'
|
|
215
|
+
except quasardb.quasardb.IncompatibleTypeError:
|
|
216
|
+
return _clean_blob(dconn.blob(k).get())
|
|
217
|
+
|
|
218
|
+
|
|
207
219
|
def _by_uid(stats):
|
|
208
220
|
xs = {}
|
|
209
221
|
for k, v in stats.items():
|
|
@@ -214,7 +226,7 @@ def _by_uid(stats):
|
|
|
214
226
|
if uid not in xs:
|
|
215
227
|
xs[uid] = {}
|
|
216
228
|
|
|
217
|
-
if not metric.startswith(
|
|
229
|
+
if not metric.startswith("serialized"):
|
|
218
230
|
xs[uid][metric] = v
|
|
219
231
|
|
|
220
232
|
return xs
|
|
@@ -227,7 +239,7 @@ def _cumulative(stats):
|
|
|
227
239
|
matches = total_pattern.match(k)
|
|
228
240
|
if is_cumulative_stat(k) and matches:
|
|
229
241
|
metric = matches.groups()[0]
|
|
230
|
-
if not metric.startswith(
|
|
242
|
+
if not metric.startswith("serialized"):
|
|
231
243
|
xs[metric] = v
|
|
232
244
|
|
|
233
245
|
return xs
|
quasardb/table_cache.py
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import logging
|
|
2
2
|
|
|
3
|
-
logger = logging.getLogger(
|
|
3
|
+
logger = logging.getLogger("quasardb.table_cache")
|
|
4
4
|
|
|
5
5
|
_cache = {}
|
|
6
6
|
|
|
7
|
+
|
|
7
8
|
def clear():
|
|
8
9
|
logger.info("Clearing table cache")
|
|
9
10
|
_cache = {}
|
|
10
11
|
|
|
12
|
+
|
|
11
13
|
def exists(table_name: str) -> bool:
|
|
12
14
|
"""
|
|
13
15
|
Returns true if table already exists in table cache.
|
|
14
16
|
"""
|
|
15
17
|
return table_name in _cache
|
|
16
18
|
|
|
19
|
+
|
|
17
20
|
def store(table, table_name=None, force_retrieve_metadata=True):
|
|
18
21
|
"""
|
|
19
22
|
Stores a table into the cache. Ensures metadata is retrieved. This is useful if you want
|
|
@@ -35,6 +38,7 @@ def store(table, table_name=None, force_retrieve_metadata=True):
|
|
|
35
38
|
|
|
36
39
|
return table
|
|
37
40
|
|
|
41
|
+
|
|
38
42
|
def lookup(table_name: str, conn, force_retrieve_metadata=True):
|
|
39
43
|
"""
|
|
40
44
|
Retrieves table from _cache if already exists. If it does not exist,
|