duckdb 0.3.3-dev6.0 → 0.3.3-dev8.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-dev6.0",
4
+ "version": "0.3.3-dev8.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -23895,15 +23895,17 @@ static void ScatterNestedVector(Vector &vec, VectorData &col, Vector &rows, data
23895
23895
  // Store pointers to the data in the row
23896
23896
  // Do this first because SerializeVector destroys the locations
23897
23897
  auto ptrs = FlatVector::GetData<data_ptr_t>(rows);
23898
+ data_ptr_t validitymask_locations[STANDARD_VECTOR_SIZE];
23898
23899
  for (idx_t i = 0; i < count; i++) {
23899
23900
  auto idx = sel.get_index(i);
23900
23901
  auto row = ptrs[idx];
23902
+ validitymask_locations[i] = row;
23901
23903
 
23902
23904
  Store<data_ptr_t>(data_locations[i], row + col_offset);
23903
23905
  }
23904
23906
 
23905
23907
  // Serialise the data
23906
- RowOperations::HeapScatter(vec, vcount, sel, count, col_no, data_locations, ptrs);
23908
+ RowOperations::HeapScatter(vec, vcount, sel, count, col_no, data_locations, validitymask_locations);
23907
23909
  }
23908
23910
 
23909
23911
  void RowOperations::Scatter(DataChunk &columns, VectorData col_data[], const RowLayout &layout, Vector &rows,
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 "c66fa5ef9"
15
- #define DUCKDB_VERSION "v0.3.3-dev6"
14
+ #define DUCKDB_SOURCE_ID "772f693a8"
15
+ #define DUCKDB_VERSION "v0.3.3-dev8"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //