duckdb 0.5.2-dev1090.0 → 0.5.2-dev1096.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 +6 -7
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +31918 -31918
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -86205,7 +86205,7 @@ void RadixPartitionedHashTable::GetData(ExecutionContext &context, DataChunk &ch
|
|
|
86205
86205
|
state.finished = true;
|
|
86206
86206
|
return;
|
|
86207
86207
|
}
|
|
86208
|
-
D_ASSERT(
|
|
86208
|
+
D_ASSERT(ht_index < gstate.finalized_hts.size());
|
|
86209
86209
|
D_ASSERT(state.ht_scan_states);
|
|
86210
86210
|
auto &ht = gstate.finalized_hts[ht_index];
|
|
86211
86211
|
auto &scan_state = state.ht_scan_states[ht_index];
|
|
@@ -114079,12 +114079,11 @@ static idx_t LevenshteinDistance(const string_t &txt, const string_t &tgt) {
|
|
|
114079
114079
|
auto txt_len = txt.GetSize();
|
|
114080
114080
|
auto tgt_len = tgt.GetSize();
|
|
114081
114081
|
|
|
114082
|
-
|
|
114083
|
-
|
|
114084
|
-
|
|
114085
|
-
|
|
114086
|
-
|
|
114087
|
-
throw InvalidInputException("Levenshtein Function: 2nd argument too short");
|
|
114082
|
+
// If one string is empty, the distance equals the length of the other string
|
|
114083
|
+
if (txt_len == 0) {
|
|
114084
|
+
return tgt_len;
|
|
114085
|
+
} else if (tgt_len == 0) {
|
|
114086
|
+
return txt_len;
|
|
114088
114087
|
}
|
|
114089
114088
|
|
|
114090
114089
|
auto txt_str = txt.GetDataUnsafe();
|
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.5.2-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "efa7dfa64"
|
|
15
|
+
#define DUCKDB_VERSION "v0.5.2-dev1096"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|