duckdb 0.3.3-dev1381.0 → 0.3.3-dev1383.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.3-dev1381.0",
4
+ "version": "0.3.3-dev1383.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -169563,7 +169563,12 @@ void ValidityScanPartial(ColumnSegment &segment, ColumnScanState &state, idx_t s
169563
169563
  // the bitwise ops we use below don't work if the vector size is too small
169564
169564
  ValidityMask source_mask(input_data);
169565
169565
  for (idx_t i = 0; i < scan_count; i++) {
169566
- result_mask.Set(result_offset + i, source_mask.RowIsValid(start + i));
169566
+ if (!source_mask.RowIsValid(start + i)) {
169567
+ if (result_mask.AllValid()) {
169568
+ result_mask.Initialize(MaxValue<idx_t>(STANDARD_VECTOR_SIZE, result_offset + scan_count));
169569
+ }
169570
+ result_mask.SetInvalid(result_offset + i);
169571
+ }
169567
169572
  }
169568
169573
  #else
169569
169574
  // the code below does what the fallback code above states, but using bitwise ops:
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 "082bb8584"
15
- #define DUCKDB_VERSION "v0.3.3-dev1381"
14
+ #define DUCKDB_SOURCE_ID "3093e74b1"
15
+ #define DUCKDB_VERSION "v0.3.3-dev1383"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //