duckdb 0.4.1-dev2295.0 → 0.4.1-dev2306.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 +15 -8
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +34300 -34300
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -76004,14 +76004,20 @@ static bool StartsWithNumericDate(string &separator, const string &value) {
|
|
|
76004
76004
|
|
|
76005
76005
|
string GenerateDateFormat(const string &separator, const char *format_template) {
|
|
76006
76006
|
string format_specifier = format_template;
|
|
76007
|
-
|
|
76008
|
-
|
|
76009
|
-
|
|
76010
|
-
pos = std::find(pos + separator.size(), format_specifier.end(), '-')) {
|
|
76011
|
-
format_specifier.replace(pos, pos + 1, separator);
|
|
76007
|
+
auto amount_of_dashes = std::count(format_specifier.begin(), format_specifier.end(), '-');
|
|
76008
|
+
if (!amount_of_dashes) {
|
|
76009
|
+
return format_specifier;
|
|
76012
76010
|
}
|
|
76013
|
-
|
|
76014
|
-
|
|
76011
|
+
string result;
|
|
76012
|
+
result.reserve(format_specifier.size() - amount_of_dashes + (amount_of_dashes * separator.size()));
|
|
76013
|
+
for (auto &character : format_specifier) {
|
|
76014
|
+
if (character == '-') {
|
|
76015
|
+
result += separator;
|
|
76016
|
+
} else {
|
|
76017
|
+
result += character;
|
|
76018
|
+
}
|
|
76019
|
+
}
|
|
76020
|
+
return result;
|
|
76015
76021
|
}
|
|
76016
76022
|
|
|
76017
76023
|
TextSearchShiftArray::TextSearchShiftArray() {
|
|
@@ -146603,7 +146609,8 @@ unique_ptr<LogicalOperator> JoinOrderOptimizer::Optimize(unique_ptr<LogicalOpera
|
|
|
146603
146609
|
// this should only happen in case the sets are actually disjunct
|
|
146604
146610
|
// in this case we need to generate cross product to connect the disjoint sets
|
|
146605
146611
|
if (context.config.force_no_cross_product) {
|
|
146606
|
-
throw
|
|
146612
|
+
throw InvalidInputException(
|
|
146613
|
+
"Query requires a cross-product, but 'force_no_cross_product' PRAGMA is enabled");
|
|
146607
146614
|
}
|
|
146608
146615
|
GenerateCrossProducts();
|
|
146609
146616
|
//! solve the join order again
|
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 "v0.4.1-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "3a22a287c"
|
|
15
|
+
#define DUCKDB_VERSION "v0.4.1-dev2306"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|