duckdb 0.5.1-dev237.0 → 0.5.1-dev240.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.5.1-dev237.0",
4
+ "version": "0.5.1-dev240.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -143368,6 +143368,7 @@ private:
143368
143368
 
143369
143369
 
143370
143370
 
143371
+
143371
143372
  namespace duckdb {
143372
143373
 
143373
143374
  class DeliminatorPlanUpdater : LogicalOperatorVisitor {
@@ -143395,7 +143396,15 @@ void DeliminatorPlanUpdater::VisitOperator(LogicalOperator &op) {
143395
143396
  cond.comparison != ExpressionType::COMPARE_NOT_DISTINCT_FROM) {
143396
143397
  continue;
143397
143398
  }
143398
- auto &colref = (BoundColumnRefExpression &)*cond.right;
143399
+ Expression *rhs = cond.right.get();
143400
+ while (rhs->type == ExpressionType::OPERATOR_CAST) {
143401
+ auto &cast = (BoundCastExpression &)*rhs;
143402
+ rhs = cast.child.get();
143403
+ }
143404
+ if (rhs->type != ExpressionType::BOUND_COLUMN_REF) {
143405
+ throw InternalException("Erorr in deliminator: expected a bound column reference");
143406
+ }
143407
+ auto &colref = (BoundColumnRefExpression &)*rhs;
143399
143408
  if (projection_map.find(colref.binding) != projection_map.end()) {
143400
143409
  // value on the right is a projection of removed DelimGet
143401
143410
  for (idx_t i = 0; i < decs->size(); i++) {
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 "a991beaf1"
15
- #define DUCKDB_VERSION "v0.5.1-dev237"
14
+ #define DUCKDB_SOURCE_ID "5e9609587"
15
+ #define DUCKDB_VERSION "v0.5.1-dev240"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //