duckdb 0.6.2-dev1568.0 → 0.6.2-dev1575.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
CHANGED
|
@@ -127,8 +127,7 @@ public:
|
|
|
127
127
|
grouping_types = payload_types;
|
|
128
128
|
grouping_types.push_back(LogicalType::HASH);
|
|
129
129
|
|
|
130
|
-
|
|
131
|
-
ResizeGroupingData(op.children[0]->estimated_cardinality);
|
|
130
|
+
ResizeGroupingData(op.estimated_cardinality);
|
|
132
131
|
}
|
|
133
132
|
}
|
|
134
133
|
|
|
@@ -171,7 +170,7 @@ private:
|
|
|
171
170
|
|
|
172
171
|
void WindowGlobalSinkState::ResizeGroupingData(idx_t cardinality) {
|
|
173
172
|
// Is the average partition size too large?
|
|
174
|
-
const
|
|
173
|
+
const idx_t partition_size = STANDARD_ROW_GROUPS_SIZE;
|
|
175
174
|
const auto bits = grouping_data ? grouping_data->GetRadixBits() : 0;
|
|
176
175
|
auto new_bits = bits ? bits : 4;
|
|
177
176
|
while (new_bits < 10 && (cardinality / RadixPartitioning::NumberOfPartitions(new_bits)) > partition_size) {
|
|
@@ -42,6 +42,8 @@ unique_ptr<PhysicalOperator> PhysicalPlanGenerator::CreatePlan(LogicalWindow &op
|
|
|
42
42
|
}
|
|
43
43
|
#endif
|
|
44
44
|
|
|
45
|
+
op.estimated_cardinality = op.EstimateCardinality(context);
|
|
46
|
+
|
|
45
47
|
// Slice types
|
|
46
48
|
auto types = op.types;
|
|
47
49
|
const auto output_idx = types.size() - op.expressions.size();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#ifndef DUCKDB_VERSION
|
|
2
|
-
#define DUCKDB_VERSION "0.6.2-
|
|
2
|
+
#define DUCKDB_VERSION "0.6.2-dev1575"
|
|
3
3
|
#endif
|
|
4
4
|
#ifndef DUCKDB_SOURCE_ID
|
|
5
|
-
#define DUCKDB_SOURCE_ID "
|
|
5
|
+
#define DUCKDB_SOURCE_ID "81b3faf6a1"
|
|
6
6
|
#endif
|
|
7
7
|
#include "duckdb/function/table/system_functions.hpp"
|
|
8
8
|
#include "duckdb/main/database.hpp"
|