duckdb 0.5.2-dev667.0 → 0.5.2-dev671.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.2-dev667.0",
4
+ "version": "0.5.2-dev671.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -106061,6 +106061,15 @@ static void ListLambdaFunction(DataChunk &args, ExpressionState &state, Vector &
106061
106061
  return;
106062
106062
  }
106063
106063
 
106064
+ // e.g. window functions in sub queries return dictionary vectors, which segfault on expression execution
106065
+ // if not flattened first
106066
+ for (idx_t i = 1; i < args.ColumnCount(); i++) {
106067
+ if (args.data[i].GetVectorType() != VectorType::FLAT_VECTOR &&
106068
+ args.data[i].GetVectorType() != VectorType::CONSTANT_VECTOR) {
106069
+ args.data[i].Flatten(count);
106070
+ }
106071
+ }
106072
+
106064
106073
  // get the lists data
106065
106074
  UnifiedVectorFormat lists_data;
106066
106075
  lists.ToUnifiedFormat(count, lists_data);
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 "064466a3a"
15
- #define DUCKDB_VERSION "v0.5.2-dev667"
14
+ #define DUCKDB_SOURCE_ID "91a9fc49a"
15
+ #define DUCKDB_VERSION "v0.5.2-dev671"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //