duckdb 0.3.1-dev397.0 → 0.3.1-dev399.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 +7 -4
- package/src/duckdb.hpp +2 -2
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -34027,10 +34027,11 @@ static void QuicksortInPlace(ChunkCollection *sort_by, vector<OrderType> &desc,
|
|
|
34027
34027
|
}
|
|
34028
34028
|
|
|
34029
34029
|
void ChunkCollection::Sort(vector<OrderType> &desc, vector<OrderByNullType> &null_order, idx_t result[]) {
|
|
34030
|
-
D_ASSERT(result);
|
|
34031
34030
|
if (count == 0) {
|
|
34032
34031
|
return;
|
|
34033
34032
|
}
|
|
34033
|
+
D_ASSERT(result);
|
|
34034
|
+
|
|
34034
34035
|
// start off with an initial quicksort
|
|
34035
34036
|
int64_t part = QuicksortInitial(this, desc, null_order, result);
|
|
34036
34037
|
|
|
@@ -77184,9 +77185,11 @@ struct SortedAggregateFunction {
|
|
|
77184
77185
|
|
|
77185
77186
|
// Apply the sort before delegating the chunks
|
|
77186
77187
|
const auto agg_count = state->ordering.Count();
|
|
77187
|
-
|
|
77188
|
-
|
|
77189
|
-
|
|
77188
|
+
if (agg_count > 0) {
|
|
77189
|
+
reordering.resize(agg_count);
|
|
77190
|
+
state->ordering.Sort(order_bind->order_sense, order_bind->null_order, reordering.data());
|
|
77191
|
+
state->arguments.Reorder(reordering.data());
|
|
77192
|
+
}
|
|
77190
77193
|
|
|
77191
77194
|
for (auto &chunk : state->arguments.Chunks()) {
|
|
77192
77195
|
// These are all simple updates, so use it if available
|
package/src/duckdb.hpp
CHANGED
|
@@ -10,8 +10,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
10
10
|
|
|
11
11
|
#pragma once
|
|
12
12
|
#define DUCKDB_AMALGAMATION 1
|
|
13
|
-
#define DUCKDB_SOURCE_ID "
|
|
14
|
-
#define DUCKDB_VERSION "0.3.1-
|
|
13
|
+
#define DUCKDB_SOURCE_ID "a45a86a8a"
|
|
14
|
+
#define DUCKDB_VERSION "0.3.1-dev399"
|
|
15
15
|
//===----------------------------------------------------------------------===//
|
|
16
16
|
// DuckDB
|
|
17
17
|
//
|