duckdb 0.5.2-dev1806.0 → 0.5.2-dev1809.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
@@ -2,7 +2,7 @@
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
4
  "types": "./lib/duckdb.d.ts",
5
- "version": "0.5.2-dev1806.0",
5
+ "version": "0.5.2-dev1809.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -65489,7 +65489,9 @@ public:
65489
65489
 
65490
65490
  D_ASSERT(!tasks.empty());
65491
65491
  SetTasks(move(tasks));
65492
+ }
65492
65493
 
65494
+ void FinishEvent() override {
65493
65495
  //! Now that all tables are combined, it's time to do the distinct aggregations
65494
65496
  auto new_event = make_shared<HashDistinctAggregateFinalizeEvent>(op, gstate, *pipeline, client);
65495
65497
  this->InsertEvent(move(new_event));
@@ -66822,11 +66824,6 @@ public:
66822
66824
  void Schedule() override {
66823
66825
  auto &distinct_state = *gstate.distinct_state;
66824
66826
  auto &distinct_data = *op.distinct_data;
66825
-
66826
- //! Now that all tables are combined, it's time to do the distinct aggregations
66827
- auto new_event = make_shared<UngroupedDistinctAggregateFinalizeEvent>(op, gstate, *pipeline, client);
66828
- this->InsertEvent(move(new_event));
66829
-
66830
66827
  vector<unique_ptr<Task>> tasks;
66831
66828
  for (idx_t table_idx = 0; table_idx < distinct_data.radix_tables.size(); table_idx++) {
66832
66829
  distinct_data.radix_tables[table_idx]->ScheduleTasks(pipeline->executor, shared_from_this(),
@@ -66835,6 +66832,12 @@ public:
66835
66832
  D_ASSERT(!tasks.empty());
66836
66833
  SetTasks(move(tasks));
66837
66834
  }
66835
+
66836
+ void FinishEvent() override {
66837
+ //! Now that all tables are combined, it's time to do the distinct aggregations
66838
+ auto new_event = make_shared<UngroupedDistinctAggregateFinalizeEvent>(op, gstate, *pipeline, client);
66839
+ this->InsertEvent(move(new_event));
66840
+ }
66838
66841
  };
66839
66842
 
66840
66843
  SinkFinalizeType PhysicalUngroupedAggregate::FinalizeDistinct(Pipeline &pipeline, Event &event, ClientContext &context,
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 "c5a3866819"
15
- #define DUCKDB_VERSION "v0.5.2-dev1806"
14
+ #define DUCKDB_SOURCE_ID "92c7d9246d"
15
+ #define DUCKDB_VERSION "v0.5.2-dev1809"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //