duckdb 0.3.2-dev816.0 → 0.3.2-dev838.0
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.
- package/package.json +1 -1
- package/src/duckdb.cpp +14 -7
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +30681 -29641
- package/src/parquet-amalgamation.hpp +57 -68
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -88587,9 +88587,9 @@ static void GenerateUUIDFunction(DataChunk &args, ExpressionState &state, Vector
|
|
|
88587
88587
|
}
|
|
88588
88588
|
|
|
88589
88589
|
void UUIDFun::RegisterFunction(BuiltinFunctions &set) {
|
|
88590
|
+
ScalarFunction uuid_function({}, LogicalType::UUID, GenerateUUIDFunction, true, UUIDRandomBind);
|
|
88590
88591
|
// generate a random uuid
|
|
88591
|
-
set.AddFunction(
|
|
88592
|
-
ScalarFunction("gen_random_uuid", {}, LogicalType::UUID, GenerateUUIDFunction, true, UUIDRandomBind));
|
|
88592
|
+
set.AddFunction({"uuid", "gen_random_uuid"}, uuid_function);
|
|
88593
88593
|
}
|
|
88594
88594
|
|
|
88595
88595
|
} // namespace duckdb
|
|
@@ -98287,8 +98287,8 @@ string ClientContext::VerifyQuery(ClientContextLock &lock, const string &query,
|
|
|
98287
98287
|
} catch (std::exception &ex) {
|
|
98288
98288
|
original_result->error = ex.what();
|
|
98289
98289
|
original_result->success = false;
|
|
98290
|
-
interrupted = false;
|
|
98291
98290
|
}
|
|
98291
|
+
interrupted = false;
|
|
98292
98292
|
|
|
98293
98293
|
// check explain, only if q does not already contain EXPLAIN
|
|
98294
98294
|
if (original_result->success) {
|
|
@@ -98308,8 +98308,8 @@ string ClientContext::VerifyQuery(ClientContextLock &lock, const string &query,
|
|
|
98308
98308
|
} catch (std::exception &ex) {
|
|
98309
98309
|
copied_result->error = ex.what();
|
|
98310
98310
|
copied_result->success = false;
|
|
98311
|
-
interrupted = false;
|
|
98312
98311
|
}
|
|
98312
|
+
interrupted = false;
|
|
98313
98313
|
// now execute the deserialized statement
|
|
98314
98314
|
try {
|
|
98315
98315
|
auto result = RunStatementInternal(lock, query, move(deserialized_stmt), false, false);
|
|
@@ -98317,8 +98317,8 @@ string ClientContext::VerifyQuery(ClientContextLock &lock, const string &query,
|
|
|
98317
98317
|
} catch (std::exception &ex) {
|
|
98318
98318
|
deserialized_result->error = ex.what();
|
|
98319
98319
|
deserialized_result->success = false;
|
|
98320
|
-
interrupted = false;
|
|
98321
98320
|
}
|
|
98321
|
+
interrupted = false;
|
|
98322
98322
|
// now execute the unoptimized statement
|
|
98323
98323
|
config.enable_optimizer = false;
|
|
98324
98324
|
try {
|
|
@@ -98327,8 +98327,8 @@ string ClientContext::VerifyQuery(ClientContextLock &lock, const string &query,
|
|
|
98327
98327
|
} catch (std::exception &ex) {
|
|
98328
98328
|
unoptimized_result->error = ex.what();
|
|
98329
98329
|
unoptimized_result->success = false;
|
|
98330
|
-
interrupted = false;
|
|
98331
98330
|
}
|
|
98331
|
+
interrupted = false;
|
|
98332
98332
|
config.enable_optimizer = true;
|
|
98333
98333
|
|
|
98334
98334
|
if (profiling_is_enabled) {
|
|
@@ -119251,6 +119251,10 @@ FilterPropagateResult StatisticsPropagator::PropagateComparison(BaseStatistics &
|
|
|
119251
119251
|
// only handle numerics for now
|
|
119252
119252
|
switch (left.type.InternalType()) {
|
|
119253
119253
|
case PhysicalType::BOOL:
|
|
119254
|
+
case PhysicalType::UINT8:
|
|
119255
|
+
case PhysicalType::UINT16:
|
|
119256
|
+
case PhysicalType::UINT32:
|
|
119257
|
+
case PhysicalType::UINT64:
|
|
119254
119258
|
case PhysicalType::INT8:
|
|
119255
119259
|
case PhysicalType::INT16:
|
|
119256
119260
|
case PhysicalType::INT32:
|
|
@@ -119378,6 +119382,10 @@ namespace duckdb {
|
|
|
119378
119382
|
unique_ptr<BaseStatistics> StatisticsPropagator::StatisticsFromValue(const Value &input) {
|
|
119379
119383
|
switch (input.type().InternalType()) {
|
|
119380
119384
|
case PhysicalType::BOOL:
|
|
119385
|
+
case PhysicalType::UINT8:
|
|
119386
|
+
case PhysicalType::UINT16:
|
|
119387
|
+
case PhysicalType::UINT32:
|
|
119388
|
+
case PhysicalType::UINT64:
|
|
119381
119389
|
case PhysicalType::INT8:
|
|
119382
119390
|
case PhysicalType::INT16:
|
|
119383
119391
|
case PhysicalType::INT32:
|
|
@@ -160562,7 +160570,6 @@ unique_ptr<BaseStatistics> StringStatistics::Copy() {
|
|
|
160562
160570
|
memcpy(stats->max, max, MAX_STRING_MINMAX_SIZE);
|
|
160563
160571
|
stats->has_unicode = has_unicode;
|
|
160564
160572
|
stats->max_string_length = max_string_length;
|
|
160565
|
-
stats->max_string_length = max_string_length;
|
|
160566
160573
|
if (validity_stats) {
|
|
160567
160574
|
stats->validity_stats = validity_stats->Copy();
|
|
160568
160575
|
}
|
package/src/duckdb.hpp
CHANGED
|
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
11
11
|
#pragma once
|
|
12
12
|
#define DUCKDB_AMALGAMATION 1
|
|
13
13
|
#define DUCKDB_AMALGAMATION_EXTENDED 1
|
|
14
|
-
#define DUCKDB_SOURCE_ID "
|
|
15
|
-
#define DUCKDB_VERSION "0.3.2-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "542f5d599"
|
|
15
|
+
#define DUCKDB_VERSION "0.3.2-dev838"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|