duckdb 0.8.2-dev3244.0 → 0.8.2-dev3250.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
@@ -2,7 +2,7 @@
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
4
  "types": "./lib/duckdb.d.ts",
5
- "version": "0.8.2-dev3244.0",
5
+ "version": "0.8.2-dev3250.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
@@ -1,8 +1,8 @@
1
1
  #ifndef DUCKDB_VERSION
2
- #define DUCKDB_VERSION "0.8.2-dev3244"
2
+ #define DUCKDB_VERSION "0.8.2-dev3250"
3
3
  #endif
4
4
  #ifndef DUCKDB_SOURCE_ID
5
- #define DUCKDB_SOURCE_ID "fb10d8eede"
5
+ #define DUCKDB_SOURCE_ID "a7f85b3b2c"
6
6
  #endif
7
7
  #include "duckdb/function/table/system_functions.hpp"
8
8
  #include "duckdb/main/database.hpp"
@@ -166,9 +166,8 @@ void EmptyStreamRelease(ArrowArrayStream *) {
166
166
  }
167
167
 
168
168
  void FactoryGetSchema(uintptr_t stream_factory_ptr, duckdb::ArrowSchemaWrapper &schema) {
169
- auto private_data =
170
- reinterpret_cast<PrivateData *>(reinterpret_cast<ArrowArrayStream *>(stream_factory_ptr)->private_data);
171
- schema.arrow_schema = *private_data->schema;
169
+ auto stream = reinterpret_cast<ArrowArrayStream *>(stream_factory_ptr);
170
+ stream->get_schema(stream, &schema.arrow_schema);
172
171
 
173
172
  // Need to nullify the root schema's release function here, because streams don't allow us to set the release
174
173
  // function. For the schema's children, we nullify the release functions in `duckdb_arrow_scan`, so we don't need to