duckdb 0.3.5-dev252.0 → 0.3.5-dev256.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 +12 -5
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +36780 -36780
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -58827,10 +58827,10 @@ static void SortCollectionForPartition(WindowOperatorState &state, BoundWindowEx
|
|
|
58827
58827
|
|
|
58828
58828
|
// fuse input and sort collection into one
|
|
58829
58829
|
// (sorting columns are not decoded, and we need them later)
|
|
58830
|
-
|
|
58831
|
-
|
|
58832
|
-
|
|
58833
|
-
|
|
58830
|
+
auto payload_types = input.Types();
|
|
58831
|
+
payload_types.insert(payload_types.end(), over.Types().begin(), over.Types().end());
|
|
58832
|
+
DataChunk payload_chunk;
|
|
58833
|
+
payload_chunk.InitializeEmpty(payload_types);
|
|
58834
58834
|
|
|
58835
58835
|
// initialise partitioning memory
|
|
58836
58836
|
// to minimise copying, we fill up a chunk and then sink it.
|
|
@@ -58856,8 +58856,15 @@ static void SortCollectionForPartition(WindowOperatorState &state, BoundWindowEx
|
|
|
58856
58856
|
// sink collection chunks into row format
|
|
58857
58857
|
const idx_t chunk_count = over.ChunkCount();
|
|
58858
58858
|
for (idx_t i = 0; i < chunk_count; i++) {
|
|
58859
|
+
auto &input_chunk = *input.Chunks()[i];
|
|
58860
|
+
for (idx_t col_idx = 0; col_idx < input_chunk.ColumnCount(); ++col_idx) {
|
|
58861
|
+
payload_chunk.data[col_idx].Reference(input_chunk.data[col_idx]);
|
|
58862
|
+
}
|
|
58859
58863
|
auto &over_chunk = *over.Chunks()[i];
|
|
58860
|
-
|
|
58864
|
+
for (idx_t col_idx = 0; col_idx < over_chunk.ColumnCount(); ++col_idx) {
|
|
58865
|
+
payload_chunk.data[input_chunk.ColumnCount() + col_idx].Reference(over_chunk.data[col_idx]);
|
|
58866
|
+
}
|
|
58867
|
+
payload_chunk.SetCardinality(input_chunk);
|
|
58861
58868
|
|
|
58862
58869
|
// Extract the hash partition, if any
|
|
58863
58870
|
if (hashes) {
|
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.3.5-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "6962a87a9"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.5-dev256"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|