duckdb 0.3.2-dev149.0 → 0.3.2-dev151.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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
- "version": "0.3.2-dev149.0",
4
+ "version": "0.3.2-dev151.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -139036,6 +139036,11 @@ void Binder::BindModifiers(OrderBinder &order_binder, QueryNode &statement, Boun
139036
139036
  case ResultModifierType::DISTINCT_MODIFIER: {
139037
139037
  auto &distinct = (DistinctModifier &)*mod;
139038
139038
  auto bound_distinct = make_unique<BoundDistinctModifier>();
139039
+ if (distinct.distinct_on_targets.empty()) {
139040
+ for (idx_t i = 0; i < result.names.size(); i++) {
139041
+ distinct.distinct_on_targets.push_back(make_unique<ConstantExpression>(Value::INTEGER(1 + i)));
139042
+ }
139043
+ }
139039
139044
  for (auto &distinct_on_target : distinct.distinct_on_targets) {
139040
139045
  auto expr = BindOrderExpression(order_binder, move(distinct_on_target));
139041
139046
  if (!expr) {
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 "76dcfb8ac"
14
- #define DUCKDB_VERSION "0.3.2-dev149"
13
+ #define DUCKDB_SOURCE_ID "5e06605e3"
14
+ #define DUCKDB_VERSION "0.3.2-dev151"
15
15
  //===----------------------------------------------------------------------===//
16
16
  // DuckDB
17
17
  //