quasardb 3.14.2.dev0__cp312-cp312-win32.whl → 3.14.2.dev4__cp312-cp312-win32.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/INSTALL.vcxproj +10 -5
- quasardb/__init__.py +33 -4
- quasardb/cmake_install.cmake +6 -0
- quasardb/date/ALL_BUILD.vcxproj +10 -9
- quasardb/date/CMakeFiles/Export/df49adab93b9e0c10c64f72458b31971/dateTargets.cmake +13 -13
- quasardb/date/CMakeFiles/generate.stamp.depend +4 -4
- quasardb/date/INSTALL.vcxproj +10 -5
- quasardb/date/cmake_install.cmake +6 -0
- quasardb/date/dateConfigVersion.cmake +0 -5
- quasardb/date/dateTargets.cmake +4 -8
- quasardb/numpy/__init__.py +58 -10
- quasardb/pandas/__init__.py +58 -102
- quasardb/pybind11/ALL_BUILD.vcxproj +10 -9
- quasardb/pybind11/CMakeFiles/generate.stamp.depend +14 -14
- quasardb/pybind11/INSTALL.vcxproj +10 -5
- quasardb/pybind11/cmake_install.cmake +6 -0
- quasardb/qdb_api.dll +0 -0
- quasardb/quasardb.cp312-win32.pyd +0 -0
- quasardb/range-v3/ALL_BUILD.vcxproj +10 -9
- quasardb/range-v3/CMakeFiles/Export/d94ef200eca10a819b5858b33e808f5b/range-v3-targets.cmake +13 -13
- quasardb/range-v3/CMakeFiles/generate.stamp.depend +11 -11
- quasardb/range-v3/INSTALL.vcxproj +10 -5
- quasardb/range-v3/cmake_install.cmake +42 -0
- quasardb/range-v3/range-v3-config-version.cmake +0 -5
- quasardb/range-v3/range-v3-config.cmake +4 -8
- quasardb/range-v3/range.v3.headers.vcxproj +10 -9
- {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 +54 -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 -118
- {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
quasardb/INSTALL.vcxproj
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<PropertyGroup Label="Globals">
|
|
25
25
|
<ProjectGuid>{377A83DC-0254-3CF3-9751-0E39E8B63E9C}</ProjectGuid>
|
|
26
26
|
<Keyword>Win32Proj</Keyword>
|
|
27
|
-
<WindowsTargetPlatformVersion>10.0.
|
|
27
|
+
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion>
|
|
28
28
|
<Platform>Win32</Platform>
|
|
29
29
|
<ProjectName>INSTALL</ProjectName>
|
|
30
30
|
<VCProjectUpgraderObjectName>NoUpgrade</VCProjectUpgraderObjectName>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
<UseUtf8Encoding>Always</UseUtf8Encoding>
|
|
70
70
|
<Message></Message>
|
|
71
71
|
<Command>setlocal
|
|
72
|
-
|
|
72
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -DBUILD_TYPE=$(Configuration) -P cmake_install.cmake
|
|
73
73
|
if %errorlevel% neq 0 goto :cmEnd
|
|
74
74
|
:cmEnd
|
|
75
75
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -84,7 +84,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
84
84
|
<UseUtf8Encoding>Always</UseUtf8Encoding>
|
|
85
85
|
<Message></Message>
|
|
86
86
|
<Command>setlocal
|
|
87
|
-
|
|
87
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -DBUILD_TYPE=$(Configuration) -P cmake_install.cmake
|
|
88
88
|
if %errorlevel% neq 0 goto :cmEnd
|
|
89
89
|
:cmEnd
|
|
90
90
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -99,7 +99,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
99
99
|
<UseUtf8Encoding>Always</UseUtf8Encoding>
|
|
100
100
|
<Message></Message>
|
|
101
101
|
<Command>setlocal
|
|
102
|
-
|
|
102
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -DBUILD_TYPE=$(Configuration) -P cmake_install.cmake
|
|
103
103
|
if %errorlevel% neq 0 goto :cmEnd
|
|
104
104
|
:cmEnd
|
|
105
105
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -114,7 +114,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
114
114
|
<UseUtf8Encoding>Always</UseUtf8Encoding>
|
|
115
115
|
<Message></Message>
|
|
116
116
|
<Command>setlocal
|
|
117
|
-
|
|
117
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -DBUILD_TYPE=$(Configuration) -P cmake_install.cmake
|
|
118
118
|
if %errorlevel% neq 0 goto :cmEnd
|
|
119
119
|
:cmEnd
|
|
120
120
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -126,6 +126,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
126
126
|
</ItemDefinitionGroup>
|
|
127
127
|
<ItemGroup>
|
|
128
128
|
<CustomBuild Include="C:\TeamCity\work\938b0bdf6727d1ad\build\temp.win32-cpython-312\Release\CMakeFiles\ed990404b091f9a458ce4f610b8751c4\INSTALL_force.rule">
|
|
129
|
+
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</BuildInParallel>
|
|
129
130
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> </Message>
|
|
130
131
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">setlocal
|
|
131
132
|
cd .
|
|
@@ -140,6 +141,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
140
141
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">C:\TeamCity\work\938b0bdf6727d1ad\build\lib.win32-cpython-312\quasardb\CMakeFiles\INSTALL_force</Outputs>
|
|
141
142
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkObjects>
|
|
142
143
|
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</VerifyInputsAndOutputsExist>
|
|
144
|
+
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</BuildInParallel>
|
|
143
145
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> </Message>
|
|
144
146
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">setlocal
|
|
145
147
|
cd .
|
|
@@ -154,6 +156,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
154
156
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">C:\TeamCity\work\938b0bdf6727d1ad\build\lib.win32-cpython-312\quasardb\CMakeFiles\INSTALL_force</Outputs>
|
|
155
157
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkObjects>
|
|
156
158
|
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</VerifyInputsAndOutputsExist>
|
|
159
|
+
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">true</BuildInParallel>
|
|
157
160
|
<Message Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'"> </Message>
|
|
158
161
|
<Command Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">setlocal
|
|
159
162
|
cd .
|
|
@@ -168,6 +171,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
168
171
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">C:\TeamCity\work\938b0bdf6727d1ad\build\lib.win32-cpython-312\quasardb\CMakeFiles\INSTALL_force</Outputs>
|
|
169
172
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">false</LinkObjects>
|
|
170
173
|
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">false</VerifyInputsAndOutputsExist>
|
|
174
|
+
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">true</BuildInParallel>
|
|
171
175
|
<Message Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'"> </Message>
|
|
172
176
|
<Command Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">setlocal
|
|
173
177
|
cd .
|
|
@@ -184,6 +188,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
184
188
|
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">false</VerifyInputsAndOutputsExist>
|
|
185
189
|
</CustomBuild>
|
|
186
190
|
</ItemGroup>
|
|
191
|
+
<ItemGroup />
|
|
187
192
|
<ItemGroup>
|
|
188
193
|
<ProjectReference Include="C:\TeamCity\work\938b0bdf6727d1ad\build\temp.win32-cpython-312\Release\ZERO_CHECK.vcxproj">
|
|
189
194
|
<Project>{63EE556D-52B8-3EEB-8849-428E97603DA1}</Project>
|
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
|
@@ -40,3 +40,9 @@ if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
|
|
40
40
|
|
|
41
41
|
endif()
|
|
42
42
|
|
|
43
|
+
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
44
|
+
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
45
|
+
if(CMAKE_INSTALL_LOCAL_ONLY)
|
|
46
|
+
file(WRITE "C:/TeamCity/work/938b0bdf6727d1ad/build/lib.win32-cpython-312/quasardb/install_local_manifest.txt"
|
|
47
|
+
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
48
|
+
endif()
|
quasardb/date/ALL_BUILD.vcxproj
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<PropertyGroup Label="Globals">
|
|
28
28
|
<ProjectGuid>{8EC159DF-4E08-3511-ACB0-40F265287AF1}</ProjectGuid>
|
|
29
29
|
<Keyword>Win32Proj</Keyword>
|
|
30
|
-
<WindowsTargetPlatformVersion>10.0.
|
|
30
|
+
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion>
|
|
31
31
|
<Platform>Win32</Platform>
|
|
32
32
|
<ProjectName>ALL_BUILD</ProjectName>
|
|
33
33
|
<VCProjectUpgraderObjectName>NoUpgrade</VCProjectUpgraderObjectName>
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
<UseUtf8Encoding>Always</UseUtf8Encoding>
|
|
113
113
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Building Custom Rule C:/TeamCity/work/938b0bdf6727d1ad/thirdparty/date/CMakeLists.txt</Message>
|
|
114
114
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">setlocal
|
|
115
|
-
|
|
115
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -SC:/TeamCity/work/938b0bdf6727d1ad/quasardb -BC:/TeamCity/work/938b0bdf6727d1ad/build/temp.win32-cpython-312/Release --check-stamp-file C:/TeamCity/work/938b0bdf6727d1ad/build/lib.win32-cpython-312/quasardb/date/CMakeFiles/generate.stamp
|
|
116
116
|
if %errorlevel% neq 0 goto :cmEnd
|
|
117
117
|
:cmEnd
|
|
118
118
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -120,12 +120,12 @@ endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
|
120
120
|
exit /b %1
|
|
121
121
|
:cmDone
|
|
122
122
|
if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
123
|
-
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">C:\
|
|
123
|
+
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\BasicConfigVersion-SameMajorVersion.cmake.in;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\CMakePackageConfigHelpers.cmake;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\GNUInstallDirs.cmake;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\WriteBasicConfigVersionFile.cmake;%(AdditionalInputs)</AdditionalInputs>
|
|
124
124
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">C:\TeamCity\work\938b0bdf6727d1ad\build\lib.win32-cpython-312\quasardb\date\CMakeFiles\generate.stamp</Outputs>
|
|
125
125
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkObjects>
|
|
126
126
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Building Custom Rule C:/TeamCity/work/938b0bdf6727d1ad/thirdparty/date/CMakeLists.txt</Message>
|
|
127
127
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">setlocal
|
|
128
|
-
|
|
128
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -SC:/TeamCity/work/938b0bdf6727d1ad/quasardb -BC:/TeamCity/work/938b0bdf6727d1ad/build/temp.win32-cpython-312/Release --check-stamp-file C:/TeamCity/work/938b0bdf6727d1ad/build/lib.win32-cpython-312/quasardb/date/CMakeFiles/generate.stamp
|
|
129
129
|
if %errorlevel% neq 0 goto :cmEnd
|
|
130
130
|
:cmEnd
|
|
131
131
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -133,12 +133,12 @@ endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
|
133
133
|
exit /b %1
|
|
134
134
|
:cmDone
|
|
135
135
|
if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
136
|
-
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">C:\
|
|
136
|
+
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\BasicConfigVersion-SameMajorVersion.cmake.in;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\CMakePackageConfigHelpers.cmake;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\GNUInstallDirs.cmake;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\WriteBasicConfigVersionFile.cmake;%(AdditionalInputs)</AdditionalInputs>
|
|
137
137
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">C:\TeamCity\work\938b0bdf6727d1ad\build\lib.win32-cpython-312\quasardb\date\CMakeFiles\generate.stamp</Outputs>
|
|
138
138
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkObjects>
|
|
139
139
|
<Message Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">Building Custom Rule C:/TeamCity/work/938b0bdf6727d1ad/thirdparty/date/CMakeLists.txt</Message>
|
|
140
140
|
<Command Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">setlocal
|
|
141
|
-
|
|
141
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -SC:/TeamCity/work/938b0bdf6727d1ad/quasardb -BC:/TeamCity/work/938b0bdf6727d1ad/build/temp.win32-cpython-312/Release --check-stamp-file C:/TeamCity/work/938b0bdf6727d1ad/build/lib.win32-cpython-312/quasardb/date/CMakeFiles/generate.stamp
|
|
142
142
|
if %errorlevel% neq 0 goto :cmEnd
|
|
143
143
|
:cmEnd
|
|
144
144
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -146,12 +146,12 @@ endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
|
146
146
|
exit /b %1
|
|
147
147
|
:cmDone
|
|
148
148
|
if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
149
|
-
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">C:\
|
|
149
|
+
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\BasicConfigVersion-SameMajorVersion.cmake.in;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\CMakePackageConfigHelpers.cmake;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\GNUInstallDirs.cmake;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\WriteBasicConfigVersionFile.cmake;%(AdditionalInputs)</AdditionalInputs>
|
|
150
150
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">C:\TeamCity\work\938b0bdf6727d1ad\build\lib.win32-cpython-312\quasardb\date\CMakeFiles\generate.stamp</Outputs>
|
|
151
151
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">false</LinkObjects>
|
|
152
152
|
<Message Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">Building Custom Rule C:/TeamCity/work/938b0bdf6727d1ad/thirdparty/date/CMakeLists.txt</Message>
|
|
153
153
|
<Command Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">setlocal
|
|
154
|
-
|
|
154
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -SC:/TeamCity/work/938b0bdf6727d1ad/quasardb -BC:/TeamCity/work/938b0bdf6727d1ad/build/temp.win32-cpython-312/Release --check-stamp-file C:/TeamCity/work/938b0bdf6727d1ad/build/lib.win32-cpython-312/quasardb/date/CMakeFiles/generate.stamp
|
|
155
155
|
if %errorlevel% neq 0 goto :cmEnd
|
|
156
156
|
:cmEnd
|
|
157
157
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -159,13 +159,14 @@ endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
|
159
159
|
exit /b %1
|
|
160
160
|
:cmDone
|
|
161
161
|
if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
162
|
-
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">C:\
|
|
162
|
+
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\BasicConfigVersion-SameMajorVersion.cmake.in;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\CMakePackageConfigHelpers.cmake;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\GNUInstallDirs.cmake;C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\share\cmake-3.31\Modules\WriteBasicConfigVersionFile.cmake;%(AdditionalInputs)</AdditionalInputs>
|
|
163
163
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">C:\TeamCity\work\938b0bdf6727d1ad\build\lib.win32-cpython-312\quasardb\date\CMakeFiles\generate.stamp</Outputs>
|
|
164
164
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">false</LinkObjects>
|
|
165
165
|
</CustomBuild>
|
|
166
166
|
</ItemGroup>
|
|
167
167
|
<ItemGroup>
|
|
168
168
|
</ItemGroup>
|
|
169
|
+
<ItemGroup />
|
|
169
170
|
<ItemGroup>
|
|
170
171
|
<ProjectReference Include="C:\TeamCity\work\938b0bdf6727d1ad\build\temp.win32-cpython-312\Release\ZERO_CHECK.vcxproj">
|
|
171
172
|
<Project>{63EE556D-52B8-3EEB-8849-428E97603DA1}</Project>
|
|
@@ -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
|
#----------------------------------------------------------------
|
|
@@ -62,10 +62,6 @@ set_target_properties(date::date PROPERTIES
|
|
|
62
62
|
INTERFACE_SOURCES "${_IMPORT_PREFIX}/include/date/date.h"
|
|
63
63
|
)
|
|
64
64
|
|
|
65
|
-
if(CMAKE_VERSION VERSION_LESS 3.1.0)
|
|
66
|
-
message(FATAL_ERROR "This file relies on consumers using CMake 3.1.0 or greater.")
|
|
67
|
-
endif()
|
|
68
|
-
|
|
69
65
|
# Load information for each installed configuration.
|
|
70
66
|
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/dateTargets-*.cmake")
|
|
71
67
|
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
|
@@ -79,9 +75,12 @@ set(_IMPORT_PREFIX)
|
|
|
79
75
|
|
|
80
76
|
# Loop over all imported files and verify that they actually exist
|
|
81
77
|
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
if(CMAKE_VERSION VERSION_LESS "3.28"
|
|
79
|
+
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
|
|
80
|
+
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
|
|
81
|
+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
|
82
|
+
if(NOT EXISTS "${_cmake_file}")
|
|
83
|
+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
|
85
84
|
\"${_cmake_file}\"
|
|
86
85
|
but this file does not exist. Possible reasons include:
|
|
87
86
|
* The file was deleted, renamed, or moved to another location.
|
|
@@ -90,8 +89,9 @@ but this file does not exist. Possible reasons include:
|
|
|
90
89
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
|
91
90
|
but not all the files it references.
|
|
92
91
|
")
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
endif()
|
|
93
|
+
endforeach()
|
|
94
|
+
endif()
|
|
95
95
|
unset(_cmake_file)
|
|
96
96
|
unset("_cmake_import_check_files_for_${_cmake_target}")
|
|
97
97
|
endforeach()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CMake generation dependency list for this directory.
|
|
2
|
-
C:/
|
|
3
|
-
C:/
|
|
4
|
-
C:/
|
|
5
|
-
C:/
|
|
2
|
+
C:/TeamCity/temp/buildTmp/build-env-ce79jttw/Lib/site-packages/cmake/data/share/cmake-3.31/Modules/BasicConfigVersion-SameMajorVersion.cmake.in
|
|
3
|
+
C:/TeamCity/temp/buildTmp/build-env-ce79jttw/Lib/site-packages/cmake/data/share/cmake-3.31/Modules/CMakePackageConfigHelpers.cmake
|
|
4
|
+
C:/TeamCity/temp/buildTmp/build-env-ce79jttw/Lib/site-packages/cmake/data/share/cmake-3.31/Modules/GNUInstallDirs.cmake
|
|
5
|
+
C:/TeamCity/temp/buildTmp/build-env-ce79jttw/Lib/site-packages/cmake/data/share/cmake-3.31/Modules/WriteBasicConfigVersionFile.cmake
|
|
6
6
|
C:/TeamCity/work/938b0bdf6727d1ad/thirdparty/date/CMakeLists.txt
|
quasardb/date/INSTALL.vcxproj
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<PropertyGroup Label="Globals">
|
|
25
25
|
<ProjectGuid>{377A83DC-0254-3CF3-9751-0E39E8B63E9C}</ProjectGuid>
|
|
26
26
|
<Keyword>Win32Proj</Keyword>
|
|
27
|
-
<WindowsTargetPlatformVersion>10.0.
|
|
27
|
+
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion>
|
|
28
28
|
<Platform>Win32</Platform>
|
|
29
29
|
<ProjectName>INSTALL</ProjectName>
|
|
30
30
|
<VCProjectUpgraderObjectName>NoUpgrade</VCProjectUpgraderObjectName>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
<UseUtf8Encoding>Always</UseUtf8Encoding>
|
|
70
70
|
<Message></Message>
|
|
71
71
|
<Command>setlocal
|
|
72
|
-
|
|
72
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -DBUILD_TYPE=$(Configuration) -P cmake_install.cmake
|
|
73
73
|
if %errorlevel% neq 0 goto :cmEnd
|
|
74
74
|
:cmEnd
|
|
75
75
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -84,7 +84,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
84
84
|
<UseUtf8Encoding>Always</UseUtf8Encoding>
|
|
85
85
|
<Message></Message>
|
|
86
86
|
<Command>setlocal
|
|
87
|
-
|
|
87
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -DBUILD_TYPE=$(Configuration) -P cmake_install.cmake
|
|
88
88
|
if %errorlevel% neq 0 goto :cmEnd
|
|
89
89
|
:cmEnd
|
|
90
90
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -99,7 +99,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
99
99
|
<UseUtf8Encoding>Always</UseUtf8Encoding>
|
|
100
100
|
<Message></Message>
|
|
101
101
|
<Command>setlocal
|
|
102
|
-
|
|
102
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -DBUILD_TYPE=$(Configuration) -P cmake_install.cmake
|
|
103
103
|
if %errorlevel% neq 0 goto :cmEnd
|
|
104
104
|
:cmEnd
|
|
105
105
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -114,7 +114,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
114
114
|
<UseUtf8Encoding>Always</UseUtf8Encoding>
|
|
115
115
|
<Message></Message>
|
|
116
116
|
<Command>setlocal
|
|
117
|
-
|
|
117
|
+
C:\TeamCity\temp\buildTmp\build-env-ce79jttw\Lib\site-packages\cmake\data\bin\cmake.exe -DBUILD_TYPE=$(Configuration) -P cmake_install.cmake
|
|
118
118
|
if %errorlevel% neq 0 goto :cmEnd
|
|
119
119
|
:cmEnd
|
|
120
120
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
|
|
@@ -126,6 +126,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
126
126
|
</ItemDefinitionGroup>
|
|
127
127
|
<ItemGroup>
|
|
128
128
|
<CustomBuild Include="C:\TeamCity\work\938b0bdf6727d1ad\build\temp.win32-cpython-312\Release\CMakeFiles\c120afaae05f3504dc1c9c157ff155d6\INSTALL_force.rule">
|
|
129
|
+
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</BuildInParallel>
|
|
129
130
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> </Message>
|
|
130
131
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">setlocal
|
|
131
132
|
cd .
|
|
@@ -140,6 +141,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
140
141
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">C:\TeamCity\work\938b0bdf6727d1ad\build\lib.win32-cpython-312\quasardb\date\CMakeFiles\INSTALL_force</Outputs>
|
|
141
142
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkObjects>
|
|
142
143
|
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</VerifyInputsAndOutputsExist>
|
|
144
|
+
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</BuildInParallel>
|
|
143
145
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> </Message>
|
|
144
146
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">setlocal
|
|
145
147
|
cd .
|
|
@@ -154,6 +156,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
154
156
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">C:\TeamCity\work\938b0bdf6727d1ad\build\lib.win32-cpython-312\quasardb\date\CMakeFiles\INSTALL_force</Outputs>
|
|
155
157
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkObjects>
|
|
156
158
|
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</VerifyInputsAndOutputsExist>
|
|
159
|
+
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">true</BuildInParallel>
|
|
157
160
|
<Message Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'"> </Message>
|
|
158
161
|
<Command Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">setlocal
|
|
159
162
|
cd .
|
|
@@ -168,6 +171,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
168
171
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">C:\TeamCity\work\938b0bdf6727d1ad\build\lib.win32-cpython-312\quasardb\date\CMakeFiles\INSTALL_force</Outputs>
|
|
169
172
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">false</LinkObjects>
|
|
170
173
|
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">false</VerifyInputsAndOutputsExist>
|
|
174
|
+
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">true</BuildInParallel>
|
|
171
175
|
<Message Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'"> </Message>
|
|
172
176
|
<Command Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">setlocal
|
|
173
177
|
cd .
|
|
@@ -184,6 +188,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
|
|
|
184
188
|
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">false</VerifyInputsAndOutputsExist>
|
|
185
189
|
</CustomBuild>
|
|
186
190
|
</ItemGroup>
|
|
191
|
+
<ItemGroup />
|
|
187
192
|
<ItemGroup>
|
|
188
193
|
<ProjectReference Include="C:\TeamCity\work\938b0bdf6727d1ad\build\temp.win32-cpython-312\Release\ZERO_CHECK.vcxproj">
|
|
189
194
|
<Project>{63EE556D-52B8-3EEB-8849-428E97603DA1}</Project>
|
|
@@ -63,3 +63,9 @@ if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT
|
|
|
63
63
|
)
|
|
64
64
|
endif()
|
|
65
65
|
|
|
66
|
+
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
67
|
+
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
68
|
+
if(CMAKE_INSTALL_LOCAL_ONLY)
|
|
69
|
+
file(WRITE "C:/TeamCity/work/938b0bdf6727d1ad/build/lib.win32-cpython-312/quasardb/date/install_local_manifest.txt"
|
|
70
|
+
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
71
|
+
endif()
|
|
@@ -52,11 +52,6 @@ else()
|
|
|
52
52
|
endif()
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
# if the installed project requested no architecture check, don't perform the check
|
|
56
|
-
if("FALSE")
|
|
57
|
-
return()
|
|
58
|
-
endif()
|
|
59
|
-
|
|
60
55
|
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
|
61
56
|
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "4" STREQUAL "")
|
|
62
57
|
return()
|
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/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))
|