quasardb 3.14.2.dev0__cp311-cp311-macosx_11_0_arm64.whl → 3.14.2.dev4__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 +20 -20
- quasardb/__init__.py +33 -4
- quasardb/cmake_install.cmake +7 -1
- quasardb/date/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
- quasardb/date/CMakeFiles/Export/a52b05f964b070ee926bcad51d3288af/dateTargets.cmake +13 -13
- quasardb/date/Makefile +20 -20
- quasardb/date/cmake_install.cmake +7 -1
- quasardb/date/dateConfigVersion.cmake +9 -2
- quasardb/date/dateTargets.cmake +4 -8
- quasardb/libqdb_api.dylib +0 -0
- quasardb/numpy/__init__.py +58 -10
- quasardb/pandas/__init__.py +58 -102
- quasardb/pybind11/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
- quasardb/pybind11/Makefile +20 -20
- quasardb/pybind11/cmake_install.cmake +7 -1
- quasardb/quasardb.cpython-311-darwin.so +0 -0
- quasardb/range-v3/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
- quasardb/range-v3/CMakeFiles/Export/d94ef200eca10a819b5858b33e808f5b/range-v3-targets.cmake +13 -13
- quasardb/range-v3/CMakeFiles/range.v3.headers.dir/DependInfo.cmake +6 -2
- quasardb/range-v3/CMakeFiles/range.v3.headers.dir/build.make +7 -4
- quasardb/range-v3/Makefile +20 -20
- quasardb/range-v3/cmake_install.cmake +19 -1
- quasardb/range-v3/range-v3-config-version.cmake +9 -2
- quasardb/range-v3/range-v3-config.cmake +4 -8
- {quasardb-3.14.2.dev0.dist-info → quasardb-3.14.2.dev4.dist-info}/METADATA +15 -10
- quasardb-3.14.2.dev4.dist-info/RECORD +45 -0
- {quasardb-3.14.2.dev0.dist-info → quasardb-3.14.2.dev4.dist-info}/WHEEL +1 -1
- quasardb/CMakeLists.txt +0 -500
- quasardb/batch_column.hpp +0 -80
- quasardb/batch_inserter.hpp +0 -248
- quasardb/blob.hpp +0 -150
- quasardb/cluster.cpp +0 -89
- quasardb/cluster.hpp +0 -551
- quasardb/concepts.hpp +0 -278
- quasardb/continuous.cpp +0 -149
- quasardb/continuous.hpp +0 -106
- quasardb/convert/array.hpp +0 -282
- quasardb/convert/point.hpp +0 -330
- quasardb/convert/range.hpp +0 -282
- quasardb/convert/unicode.hpp +0 -598
- quasardb/convert/util.hpp +0 -22
- quasardb/convert/value.hpp +0 -711
- quasardb/convert.hpp +0 -38
- quasardb/detail/qdb_resource.hpp +0 -129
- quasardb/detail/ts_column.hpp +0 -224
- quasardb/direct_blob.hpp +0 -108
- quasardb/direct_handle.hpp +0 -83
- quasardb/direct_integer.hpp +0 -94
- quasardb/dispatch.hpp +0 -157
- quasardb/double.hpp +0 -87
- quasardb/entry.hpp +0 -273
- quasardb/error.hpp +0 -318
- quasardb/handle.cpp +0 -29
- quasardb/handle.hpp +0 -98
- quasardb/integer.hpp +0 -88
- quasardb/logger.cpp +0 -106
- quasardb/logger.hpp +0 -228
- quasardb/masked_array.hpp +0 -651
- quasardb/metrics.cpp +0 -103
- quasardb/metrics.hpp +0 -112
- quasardb/module.cpp +0 -76
- quasardb/module.hpp +0 -24
- quasardb/node.hpp +0 -123
- quasardb/numpy.cpp +0 -6
- quasardb/numpy.hpp +0 -489
- quasardb/object_tracker.hpp +0 -283
- quasardb/options.hpp +0 -244
- quasardb/perf.hpp +0 -336
- quasardb/pytypes.hpp +0 -221
- quasardb/query.cpp +0 -420
- quasardb/query.hpp +0 -92
- quasardb/reader/ts_row.hpp +0 -281
- quasardb/reader/ts_value.hpp +0 -245
- quasardb/remove_cvref.hpp +0 -31
- quasardb/string.hpp +0 -160
- quasardb/table.cpp +0 -289
- quasardb/table.hpp +0 -325
- quasardb/table_reader.hpp +0 -220
- quasardb/tag.hpp +0 -77
- quasardb/timestamp.hpp +0 -97
- quasardb/traits.hpp +0 -619
- quasardb/ts_iterator.hpp +0 -193
- quasardb/utils/blob_deque.hpp +0 -96
- quasardb/utils/ostream.hpp +0 -17
- quasardb/utils/permutation.hpp +0 -50
- quasardb/utils/stable_sort.hpp +0 -25
- quasardb/utils/unzip_view.hpp +0 -89
- quasardb/utils.cpp +0 -28
- quasardb/utils.hpp +0 -174
- quasardb/writer.cpp +0 -534
- quasardb/writer.hpp +0 -396
- quasardb-3.14.2.dev0.dist-info/RECORD +0 -109
- {quasardb-3.14.2.dev0.dist-info → quasardb-3.14.2.dev4.dist-info}/LICENSE.md +0 -0
- {quasardb-3.14.2.dev0.dist-info → quasardb-3.14.2.dev4.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# CMAKE generated file: DO NOT EDIT!
|
|
2
|
-
# Generated by "Unix Makefiles" Generator, CMake Version 3.
|
|
2
|
+
# Generated by "Unix Makefiles" Generator, CMake Version 3.31
|
|
3
3
|
|
|
4
4
|
# Relative path conversion top directories.
|
|
5
5
|
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty")
|
quasardb/Makefile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# CMAKE generated file: DO NOT EDIT!
|
|
2
|
-
# Generated by "Unix Makefiles" Generator, CMake Version 3.
|
|
2
|
+
# Generated by "Unix Makefiles" Generator, CMake Version 3.31
|
|
3
3
|
|
|
4
4
|
# Default target executed when no arguments are given to make.
|
|
5
5
|
default_target: all
|
|
@@ -48,10 +48,10 @@ cmake_force:
|
|
|
48
48
|
SHELL = /bin/sh
|
|
49
49
|
|
|
50
50
|
# The CMake executable.
|
|
51
|
-
CMAKE_COMMAND = /
|
|
51
|
+
CMAKE_COMMAND = /Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/lib/python3.11/site-packages/cmake/data/bin/cmake
|
|
52
52
|
|
|
53
53
|
# The command to remove a file.
|
|
54
|
-
RM = /
|
|
54
|
+
RM = /Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/lib/python3.11/site-packages/cmake/data/bin/cmake -E rm -f
|
|
55
55
|
|
|
56
56
|
# Escaping for special characters.
|
|
57
57
|
EQUALS = =
|
|
@@ -67,8 +67,8 @@ CMAKE_BINARY_DIR = /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.m
|
|
|
67
67
|
|
|
68
68
|
# Special rule for the target edit_cache
|
|
69
69
|
edit_cache:
|
|
70
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
|
71
|
-
/
|
|
70
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake cache editor..."
|
|
71
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
|
@@ -77,8 +77,8 @@ edit_cache/fast: edit_cache
|
|
|
77
77
|
|
|
78
78
|
# Special rule for the target rebuild_cache
|
|
79
79
|
rebuild_cache:
|
|
80
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
|
81
|
-
/
|
|
80
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
|
|
81
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
|
@@ -87,7 +87,7 @@ rebuild_cache/fast: rebuild_cache
|
|
|
87
87
|
|
|
88
88
|
# Special rule for the target list_install_components
|
|
89
89
|
list_install_components:
|
|
90
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
|
90
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Available install components are: \"Unspecified\""
|
|
91
91
|
.PHONY : list_install_components
|
|
92
92
|
|
|
93
93
|
# Special rule for the target list_install_components
|
|
@@ -96,38 +96,38 @@ list_install_components/fast: list_install_components
|
|
|
96
96
|
|
|
97
97
|
# Special rule for the target install
|
|
98
98
|
install: preinstall
|
|
99
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
|
100
|
-
/
|
|
99
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
|
|
100
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
|
106
|
-
/
|
|
105
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
|
|
106
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
|
112
|
-
/
|
|
111
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
|
|
112
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
|
118
|
-
/
|
|
117
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
|
|
118
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
|
124
|
-
/
|
|
123
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
|
|
124
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
|
130
|
-
/
|
|
129
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
|
|
130
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
quasardb/__init__.py
CHANGED
|
@@ -35,9 +35,19 @@
|
|
|
35
35
|
.. moduleauthor: quasardb SAS. All rights reserved
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
|
-
def generic_error_msg(msg, e):
|
|
38
|
+
def generic_error_msg(msg, e = None):
|
|
39
39
|
msg_str = "\n".join(msg)
|
|
40
|
-
|
|
40
|
+
|
|
41
|
+
if e is None:
|
|
42
|
+
return """
|
|
43
|
+
**************************************************************************
|
|
44
|
+
|
|
45
|
+
{}
|
|
46
|
+
|
|
47
|
+
**************************************************************************
|
|
48
|
+
""".format(msg_str, type(e), str(e))
|
|
49
|
+
else:
|
|
50
|
+
return """
|
|
41
51
|
**************************************************************************
|
|
42
52
|
|
|
43
53
|
{}
|
|
@@ -46,8 +56,8 @@ def generic_error_msg(msg, e):
|
|
|
46
56
|
|
|
47
57
|
Original exception:
|
|
48
58
|
|
|
49
|
-
|
|
50
|
-
|
|
59
|
+
Type: {}
|
|
60
|
+
Message: {}
|
|
51
61
|
|
|
52
62
|
**************************************************************************
|
|
53
63
|
""".format(msg_str, type(e), str(e))
|
|
@@ -79,9 +89,23 @@ def glibc_error_msg(e):
|
|
|
79
89
|
|
|
80
90
|
return generic_error_msg(msg, e)
|
|
81
91
|
|
|
92
|
+
def unknown_error_msg():
|
|
93
|
+
msg = [
|
|
94
|
+
"Unable to import quasardb module: unknown error. ",
|
|
95
|
+
"",
|
|
96
|
+
"This may have several causes, including, but not limited to: ",
|
|
97
|
+
" - a link error, ",
|
|
98
|
+
" - architecture mismatch, ",
|
|
99
|
+
" - the current working directory already contains a 'quasardb' subdirectory.",
|
|
100
|
+
"",
|
|
101
|
+
"If you believe this to be a bug, please reach out to QuasarDB at",
|
|
102
|
+
"support@quasar.ai"]
|
|
103
|
+
|
|
104
|
+
return generic_error_msg(msg)
|
|
82
105
|
try:
|
|
83
106
|
from quasardb.quasardb import *
|
|
84
107
|
except BaseException as e:
|
|
108
|
+
print(e)
|
|
85
109
|
if "undefined symbol" in str(e):
|
|
86
110
|
print(link_error_msg(e))
|
|
87
111
|
raise e
|
|
@@ -90,5 +114,10 @@ except BaseException as e:
|
|
|
90
114
|
else:
|
|
91
115
|
from quasardb import *
|
|
92
116
|
|
|
117
|
+
if not 'quasardb' in locals():
|
|
118
|
+
print(unknown_error_msg())
|
|
119
|
+
raise ImportError()
|
|
120
|
+
|
|
121
|
+
|
|
93
122
|
from .extensions import extend_module
|
|
94
123
|
extend_module(quasardb)
|
quasardb/cmake_install.cmake
CHANGED
|
@@ -32,7 +32,7 @@ if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
|
32
32
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
|
33
33
|
endif()
|
|
34
34
|
|
|
35
|
-
# Set
|
|
35
|
+
# Set path to fallback-tool for dependency-resolution.
|
|
36
36
|
if(NOT DEFINED CMAKE_OBJDUMP)
|
|
37
37
|
set(CMAKE_OBJDUMP "/usr/local/clang16/bin/llvm-objdump")
|
|
38
38
|
endif()
|
|
@@ -45,3 +45,9 @@ if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
|
|
45
45
|
|
|
46
46
|
endif()
|
|
47
47
|
|
|
48
|
+
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
49
|
+
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
50
|
+
if(CMAKE_INSTALL_LOCAL_ONLY)
|
|
51
|
+
file(WRITE "/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-14.0-arm64-cpython-311/quasardb/install_local_manifest.txt"
|
|
52
|
+
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
53
|
+
endif()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# CMAKE generated file: DO NOT EDIT!
|
|
2
|
-
# Generated by "Unix Makefiles" Generator, CMake Version 3.
|
|
2
|
+
# Generated by "Unix Makefiles" Generator, CMake Version 3.31
|
|
3
3
|
|
|
4
4
|
# Relative path conversion top directories.
|
|
5
5
|
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty")
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Generated by CMake
|
|
2
2
|
|
|
3
3
|
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
|
4
|
-
message(FATAL_ERROR "CMake >=
|
|
4
|
+
message(FATAL_ERROR "CMake >= 3.1.0 required")
|
|
5
5
|
endif()
|
|
6
|
-
if(CMAKE_VERSION VERSION_LESS "
|
|
7
|
-
message(FATAL_ERROR "CMake >=
|
|
6
|
+
if(CMAKE_VERSION VERSION_LESS "3.1.0")
|
|
7
|
+
message(FATAL_ERROR "CMake >= 3.1.0 required")
|
|
8
8
|
endif()
|
|
9
9
|
cmake_policy(PUSH)
|
|
10
|
-
cmake_policy(VERSION
|
|
10
|
+
cmake_policy(VERSION 3.1.0...3.29)
|
|
11
11
|
#----------------------------------------------------------------
|
|
12
12
|
# Generated CMake target import file.
|
|
13
13
|
#----------------------------------------------------------------
|
|
@@ -64,10 +64,6 @@ set_target_properties(date::date PROPERTIES
|
|
|
64
64
|
INTERFACE_SOURCES "${_IMPORT_PREFIX}/include/date/date.h"
|
|
65
65
|
)
|
|
66
66
|
|
|
67
|
-
if(CMAKE_VERSION VERSION_LESS 3.1.0)
|
|
68
|
-
message(FATAL_ERROR "This file relies on consumers using CMake 3.1.0 or greater.")
|
|
69
|
-
endif()
|
|
70
|
-
|
|
71
67
|
# Load information for each installed configuration.
|
|
72
68
|
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/dateTargets-*.cmake")
|
|
73
69
|
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
|
@@ -81,9 +77,12 @@ set(_IMPORT_PREFIX)
|
|
|
81
77
|
|
|
82
78
|
# Loop over all imported files and verify that they actually exist
|
|
83
79
|
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
80
|
+
if(CMAKE_VERSION VERSION_LESS "3.28"
|
|
81
|
+
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
|
|
82
|
+
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
|
|
83
|
+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
|
84
|
+
if(NOT EXISTS "${_cmake_file}")
|
|
85
|
+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
|
87
86
|
\"${_cmake_file}\"
|
|
88
87
|
but this file does not exist. Possible reasons include:
|
|
89
88
|
* The file was deleted, renamed, or moved to another location.
|
|
@@ -92,8 +91,9 @@ but this file does not exist. Possible reasons include:
|
|
|
92
91
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
|
93
92
|
but not all the files it references.
|
|
94
93
|
")
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
endif()
|
|
95
|
+
endforeach()
|
|
96
|
+
endif()
|
|
97
97
|
unset(_cmake_file)
|
|
98
98
|
unset("_cmake_import_check_files_for_${_cmake_target}")
|
|
99
99
|
endforeach()
|
quasardb/date/Makefile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# CMAKE generated file: DO NOT EDIT!
|
|
2
|
-
# Generated by "Unix Makefiles" Generator, CMake Version 3.
|
|
2
|
+
# Generated by "Unix Makefiles" Generator, CMake Version 3.31
|
|
3
3
|
|
|
4
4
|
# Default target executed when no arguments are given to make.
|
|
5
5
|
default_target: all
|
|
@@ -48,10 +48,10 @@ cmake_force:
|
|
|
48
48
|
SHELL = /bin/sh
|
|
49
49
|
|
|
50
50
|
# The CMake executable.
|
|
51
|
-
CMAKE_COMMAND = /
|
|
51
|
+
CMAKE_COMMAND = /Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/lib/python3.11/site-packages/cmake/data/bin/cmake
|
|
52
52
|
|
|
53
53
|
# The command to remove a file.
|
|
54
|
-
RM = /
|
|
54
|
+
RM = /Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/lib/python3.11/site-packages/cmake/data/bin/cmake -E rm -f
|
|
55
55
|
|
|
56
56
|
# Escaping for special characters.
|
|
57
57
|
EQUALS = =
|
|
@@ -67,8 +67,8 @@ CMAKE_BINARY_DIR = /Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.m
|
|
|
67
67
|
|
|
68
68
|
# Special rule for the target edit_cache
|
|
69
69
|
edit_cache:
|
|
70
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
|
71
|
-
/
|
|
70
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake cache editor..."
|
|
71
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
|
@@ -77,8 +77,8 @@ edit_cache/fast: edit_cache
|
|
|
77
77
|
|
|
78
78
|
# Special rule for the target rebuild_cache
|
|
79
79
|
rebuild_cache:
|
|
80
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
|
81
|
-
/
|
|
80
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
|
|
81
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
|
@@ -87,7 +87,7 @@ rebuild_cache/fast: rebuild_cache
|
|
|
87
87
|
|
|
88
88
|
# Special rule for the target list_install_components
|
|
89
89
|
list_install_components:
|
|
90
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
|
90
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Available install components are: \"Unspecified\""
|
|
91
91
|
.PHONY : list_install_components
|
|
92
92
|
|
|
93
93
|
# Special rule for the target list_install_components
|
|
@@ -96,38 +96,38 @@ list_install_components/fast: list_install_components
|
|
|
96
96
|
|
|
97
97
|
# Special rule for the target install
|
|
98
98
|
install: preinstall
|
|
99
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
|
100
|
-
/
|
|
99
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
|
|
100
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
|
106
|
-
/
|
|
105
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
|
|
106
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
|
112
|
-
/
|
|
111
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
|
|
112
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
|
118
|
-
/
|
|
117
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
|
|
118
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
|
124
|
-
/
|
|
123
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
|
|
124
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
-
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
|
130
|
-
/
|
|
129
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
|
|
130
|
+
/Users/teamcity/buildAgent/temp/buildTmp/build-env-mlvllvqz/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
|
|
@@ -32,7 +32,7 @@ if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
|
32
32
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
|
33
33
|
endif()
|
|
34
34
|
|
|
35
|
-
# Set
|
|
35
|
+
# Set path to fallback-tool for dependency-resolution.
|
|
36
36
|
if(NOT DEFINED CMAKE_OBJDUMP)
|
|
37
37
|
set(CMAKE_OBJDUMP "/usr/local/clang16/bin/llvm-objdump")
|
|
38
38
|
endif()
|
|
@@ -68,3 +68,9 @@ if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT
|
|
|
68
68
|
)
|
|
69
69
|
endif()
|
|
70
70
|
|
|
71
|
+
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
72
|
+
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
73
|
+
if(CMAKE_INSTALL_LOCAL_ONLY)
|
|
74
|
+
file(WRITE "/Users/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.macosx-14.0-arm64-cpython-311/quasardb/date/install_local_manifest.txt"
|
|
75
|
+
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
76
|
+
endif()
|
|
@@ -52,7 +52,14 @@ else()
|
|
|
52
52
|
endif()
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
# if the installed
|
|
56
|
-
if("
|
|
55
|
+
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
|
56
|
+
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
|
|
57
57
|
return()
|
|
58
58
|
endif()
|
|
59
|
+
|
|
60
|
+
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
|
|
61
|
+
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
|
|
62
|
+
math(EXPR installedBits "8 * 8")
|
|
63
|
+
set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
|
|
64
|
+
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
|
65
|
+
endif()
|
quasardb/date/dateTargets.cmake
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Generated by CMake
|
|
2
2
|
|
|
3
3
|
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
|
4
|
-
message(FATAL_ERROR "CMake >=
|
|
4
|
+
message(FATAL_ERROR "CMake >= 3.0.0 required")
|
|
5
5
|
endif()
|
|
6
|
-
if(CMAKE_VERSION VERSION_LESS "
|
|
7
|
-
message(FATAL_ERROR "CMake >=
|
|
6
|
+
if(CMAKE_VERSION VERSION_LESS "3.0.0")
|
|
7
|
+
message(FATAL_ERROR "CMake >= 3.0.0 required")
|
|
8
8
|
endif()
|
|
9
9
|
cmake_policy(PUSH)
|
|
10
|
-
cmake_policy(VERSION
|
|
10
|
+
cmake_policy(VERSION 3.0.0...3.29)
|
|
11
11
|
#----------------------------------------------------------------
|
|
12
12
|
# Generated CMake target import file.
|
|
13
13
|
#----------------------------------------------------------------
|
|
@@ -15,10 +15,6 @@ cmake_policy(VERSION 2.8.3...3.22)
|
|
|
15
15
|
# Commands may need to know the format version.
|
|
16
16
|
set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
17
17
|
|
|
18
|
-
if(CMAKE_VERSION VERSION_LESS 3.0.0)
|
|
19
|
-
message(FATAL_ERROR "This file relies on consumers using CMake 3.0.0 or greater.")
|
|
20
|
-
endif()
|
|
21
|
-
|
|
22
18
|
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
|
23
19
|
set(_cmake_targets_defined "")
|
|
24
20
|
set(_cmake_targets_not_defined "")
|
quasardb/libqdb_api.dylib
CHANGED
|
Binary file
|
quasardb/numpy/__init__.py
CHANGED
|
@@ -414,6 +414,17 @@ def _ensure_list(xs, cinfos):
|
|
|
414
414
|
return ret
|
|
415
415
|
|
|
416
416
|
|
|
417
|
+
def _coerce_retries(retries) -> quasardb.RetryOptions:
|
|
418
|
+
if retries is None:
|
|
419
|
+
return quasardb.RetryOptions()
|
|
420
|
+
elif isinstance(retries, int):
|
|
421
|
+
return quasardb.RetryOptions(retries=retries)
|
|
422
|
+
elif isinstance(retries, quasardb.RetryOptions):
|
|
423
|
+
return retries
|
|
424
|
+
else:
|
|
425
|
+
raise TypeError("retries should either be an integer or quasardb.RetryOptions, got: " + type(retries))
|
|
426
|
+
|
|
427
|
+
|
|
417
428
|
def ensure_ma(xs, dtype=None):
|
|
418
429
|
if isinstance(dtype, list):
|
|
419
430
|
assert(isinstance(xs, list) == True)
|
|
@@ -556,20 +567,25 @@ def write_array(
|
|
|
556
567
|
logger.info("Writing array (%d rows of dtype %s) to columns %s.%s (type %s)", len(data), data.dtype, table.get_name(), column, ctype)
|
|
557
568
|
write_with[ctype](column, index, data)
|
|
558
569
|
|
|
559
|
-
|
|
560
570
|
def write_arrays(
|
|
561
571
|
data,
|
|
562
572
|
cluster,
|
|
563
573
|
table = None,
|
|
574
|
+
*,
|
|
564
575
|
dtype = None,
|
|
565
576
|
index = None,
|
|
566
577
|
_async = False,
|
|
567
578
|
fast = False,
|
|
568
579
|
truncate = False,
|
|
569
|
-
deduplicate=False,
|
|
570
|
-
deduplication_mode='drop',
|
|
580
|
+
deduplicate = False,
|
|
581
|
+
deduplication_mode = 'drop',
|
|
571
582
|
infer_types = True,
|
|
572
|
-
writer = None
|
|
583
|
+
writer = None,
|
|
584
|
+
write_through = False,
|
|
585
|
+
retries = 3,
|
|
586
|
+
|
|
587
|
+
# We accept additional kwargs that will be passed through the writer.push() methods
|
|
588
|
+
**kwargs):
|
|
573
589
|
"""
|
|
574
590
|
Write multiple aligned numpy arrays to a table.
|
|
575
591
|
|
|
@@ -652,12 +668,25 @@ def write_arrays(
|
|
|
652
668
|
|
|
653
669
|
Defaults to False.
|
|
654
670
|
|
|
671
|
+
write_through: optional bool
|
|
672
|
+
If True, data is not cached after write.
|
|
673
|
+
By default is False, in which case caching is left at the discretion of the server.
|
|
674
|
+
|
|
655
675
|
writer: optional quasardb.Writer
|
|
656
676
|
Allows you to explicitly provide a Writer to use, which is expected to be
|
|
657
677
|
initialized with the `table`.
|
|
658
678
|
|
|
659
679
|
Reuse of the Writer allows for some performance improvements.
|
|
660
680
|
|
|
681
|
+
retries: optional int or quasardb.RetryOptions
|
|
682
|
+
Number of times to retry in case of a push failure. This is useful in case of async
|
|
683
|
+
pipeline failures, or when doing transactional inserts that may occasionally cause
|
|
684
|
+
transaction conflicts.
|
|
685
|
+
|
|
686
|
+
Retries with exponential backoff, starts at 3 seconds, and doubles every retry attempt.
|
|
687
|
+
|
|
688
|
+
Alternatively, a quasardb.RetryOptions object can be passed to more carefully fine-tune
|
|
689
|
+
retry behavior.
|
|
661
690
|
"""
|
|
662
691
|
|
|
663
692
|
if table:
|
|
@@ -673,7 +702,10 @@ def write_arrays(
|
|
|
673
702
|
deduplicate=deduplicate,
|
|
674
703
|
deduplication_mode=deduplication_mode,
|
|
675
704
|
infer_types=infer_types,
|
|
676
|
-
|
|
705
|
+
write_through=write_through,
|
|
706
|
+
writer=writer,
|
|
707
|
+
retries=retries,
|
|
708
|
+
**kwargs)
|
|
677
709
|
|
|
678
710
|
|
|
679
711
|
ret = []
|
|
@@ -738,19 +770,35 @@ def write_arrays(
|
|
|
738
770
|
n_rows += len(index_)
|
|
739
771
|
ret.append(table)
|
|
740
772
|
|
|
773
|
+
retries = _coerce_retries(retries)
|
|
774
|
+
|
|
775
|
+
# By default, we push all additional kwargs to the writer.push() function. This allows transparent propagation
|
|
776
|
+
# arguments.
|
|
777
|
+
#
|
|
778
|
+
# The initial use case was that so we can add additional parameters for test mocks, e.g. `mock_failures` so that
|
|
779
|
+
# we can validate the retry functionality.
|
|
780
|
+
push_kwargs = kwargs
|
|
781
|
+
push_kwargs['deduplicate'] = deduplicate
|
|
782
|
+
push_kwargs['deduplication_mode'] = deduplication_mode
|
|
783
|
+
push_kwargs['write_through'] = write_through
|
|
784
|
+
push_kwargs['retries'] = retries
|
|
785
|
+
|
|
741
786
|
logger.debug("pushing %d rows", n_rows)
|
|
742
787
|
start = time.time()
|
|
743
788
|
|
|
744
789
|
if fast is True:
|
|
745
|
-
|
|
790
|
+
push_kwargs['push_mode'] = quasardb.WriterPushMode.Fast
|
|
746
791
|
elif truncate is True:
|
|
747
|
-
|
|
792
|
+
push_kwargs['push_mode'] = quasardb.WriterPushMode.Truncate
|
|
748
793
|
elif isinstance(truncate, tuple):
|
|
749
|
-
|
|
794
|
+
push_kwargs['push_mode'] = quasardb.WriterPushMode.Truncate
|
|
795
|
+
push_kwargs['range'] = truncate
|
|
750
796
|
elif _async is True:
|
|
751
|
-
|
|
797
|
+
push_kwargs['push_mode'] = quasardb.WriterPushMode.Async
|
|
752
798
|
else:
|
|
753
|
-
|
|
799
|
+
push_kwargs['push_mode'] = quasardb.WriterPushMode.Transactional
|
|
800
|
+
|
|
801
|
+
writer.push(push_data, **push_kwargs)
|
|
754
802
|
|
|
755
803
|
logger.debug("pushed %d rows in %s seconds",
|
|
756
804
|
n_rows, (time.time() - start))
|