Closed marvold-mw closed 1 month ago
(I should note that this was on an Apple Silicon Mac running macOS Sequoia and Node 20.17.0, in case that proves relevant. This also happened with slightly different code on a GitHub runner running Ubuntu 22.04 and Node 20.17.0; I suspect it's a general issue, but I ought to mention as much as I can.)
Same issue here
I have the same problem.
https://github.com/duckdb/duckdb-node/pull/125 should fix the issue here, please reopen if that's not the case and I missed something.
I was worried it wasn't fixed for a moment, but realized my real scenario is using duckdb-async
which is bringing in the old version on its own. Running with the simple repro above, everything now works. Thanks, looking forward to seeing this released!
Using the following code (basically the sample code from https://duckdb.org/docs/api/nodejs/overview.html#inserting-data-via-arrow), DuckDB 1.1.0 failed to register an Arrow buffer via the Node bindings:
This code failed with NPM packages apache-arrow 17.0.0 and duckdb 1.1.0, but succeeded with apache-arrow 17.0.0 and duckdb 1.0.0.