duckdb 0.3.5-dev372.0 → 0.3.5-dev375.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.5-dev372.0",
4
+ "version": "0.3.5-dev375.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -39582,10 +39582,10 @@ int32_t Date::ExtractISODayOfTheWeek(date_t date) {
39582
39582
  // 7 = 4
39583
39583
  if (date.days < 0) {
39584
39584
  // negative date: start off at 4 and cycle downwards
39585
- return (7 - ((-date.days + 3) % 7));
39585
+ return (7 - ((-int64_t(date.days) + 3) % 7));
39586
39586
  } else {
39587
39587
  // positive date: start off at 4 and cycle upwards
39588
- return ((date.days + 3) % 7) + 1;
39588
+ return ((int64_t(date.days) + 3) % 7) + 1;
39589
39589
  }
39590
39590
  }
39591
39591
 
@@ -53945,9 +53945,8 @@ void ExpressionExecutor::Execute(const BoundOperatorExpression &expr, Expression
53945
53945
  }
53946
53946
  }
53947
53947
  if (remaining_count > 0) {
53948
- auto &result_mask = FlatVector::Validity(result);
53949
53948
  for (idx_t i = 0; i < remaining_count; i++) {
53950
- result_mask.SetInvalid(current_sel->get_index(i));
53949
+ FlatVector::SetNull(result, current_sel->get_index(i), true);
53951
53950
  }
53952
53951
  }
53953
53952
  if (sel) {
@@ -142089,7 +142088,7 @@ ThreadContext::ThreadContext(ClientContext &context) : profiler(QueryProfiler::G
142089
142088
 
142090
142089
  namespace duckdb {
142091
142090
 
142092
- void BaseExpression::Print() {
142091
+ void BaseExpression::Print() const {
142093
142092
  Printer::Print(ToString());
142094
142093
  }
142095
142094
 
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 "fb12cb330"
15
- #define DUCKDB_VERSION "v0.3.5-dev372"
14
+ #define DUCKDB_SOURCE_ID "466b702e7"
15
+ #define DUCKDB_VERSION "v0.3.5-dev375"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //
@@ -5888,7 +5888,7 @@ public:
5888
5888
  //! Convert the Expression to a String
5889
5889
  virtual string ToString() const = 0;
5890
5890
  //! Print the expression to stdout
5891
- void Print();
5891
+ void Print() const;
5892
5892
 
5893
5893
  //! Creates a hash value of this expression. It is important that if two expressions are identical (i.e.
5894
5894
  //! Expression::Equals() returns true), that their hash value is identical as well.