duckdb 0.8.2-dev2669.0 → 0.8.2-dev2673.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
@@ -77,7 +77,12 @@ static void ListCombineFunction(Vector &states_vector, Vector &combined, Aggrega
|
|
77
77
|
for (idx_t i = 0; i < count; i++) {
|
78
78
|
|
79
79
|
auto &state = *states_ptr[states_data.sel->get_index(i)];
|
80
|
-
|
80
|
+
if (state.linked_list.total_capacity == 0) {
|
81
|
+
// NULL, no need to append
|
82
|
+
// this can happen when adding a FILTER to the grouping, e.g.,
|
83
|
+
// LIST(i) FILTER (WHERE i <> 3)
|
84
|
+
continue;
|
85
|
+
}
|
81
86
|
|
82
87
|
if (combined_ptr[i]->linked_list.total_capacity == 0) {
|
83
88
|
combined_ptr[i]->linked_list = state.linked_list;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
#ifndef DUCKDB_VERSION
|
2
|
-
#define DUCKDB_VERSION "0.8.2-
|
2
|
+
#define DUCKDB_VERSION "0.8.2-dev2673"
|
3
3
|
#endif
|
4
4
|
#ifndef DUCKDB_SOURCE_ID
|
5
|
-
#define DUCKDB_SOURCE_ID "
|
5
|
+
#define DUCKDB_SOURCE_ID "fd683b9fb2"
|
6
6
|
#endif
|
7
7
|
#include "duckdb/function/table/system_functions.hpp"
|
8
8
|
#include "duckdb/main/database.hpp"
|
@@ -589,6 +589,9 @@ bool Executor::GetPipelinesProgress(double ¤t_progress) { // LCOV_EXCL_STA
|
|
589
589
|
total_cardinality += child_cardinality;
|
590
590
|
}
|
591
591
|
current_progress = 0;
|
592
|
+
if (total_cardinality == 0) {
|
593
|
+
return true;
|
594
|
+
}
|
592
595
|
for (size_t i = 0; i < progress.size(); i++) {
|
593
596
|
current_progress += progress[i] * double(cardinality[i]) / double(total_cardinality);
|
594
597
|
}
|