Mathias Lafeldt
Mathias Lafeldt
I'm running into this as well. Interestingly, if I import `Headers` from miniflare ([like here](https://github.com/cloudflare/workers-sdk/blob/3ae16ac5d5a70892c48a5e3d53f3aa275345d048/packages/miniflare/test/plugins/r2/index.spec.ts#L10)), `writeHttpMetadata` works fine. Without the import, the default `Headers` interface from TypeScript's libdom will cause...
https://github.com/duckdb/duckdb/pull/18246 lays the groundwork for a new Arrow C API.
Thanks for bringing this up. As you noted, the current API only allows setting extra_info with T::default(), which isn't very helpful when it comes to passing custom context to scalar...
@Colory Do you mind explaining your actual use case? You can certainly access global state in scalars using Rust primitives, but I understand that it might be hacky.
#558 introduces `register_scalar_function_with_state`, which does exactly what you need.
I finally documented this limitation in the README: https://github.com/duckdb/duckdb-rs?tab=readme-ov-file#icu-extension-and-the-bundled-feature
@kxxu Please provide more info for me to reproduce the issue, in particular - How did you include the duckdb crate in your Rust project? - What's the SQL you...
Closing as stale due to inactivity. Feel free to re-open.
👋 Thanks for opening this issue! This issue has been moved to https://github.com/duckdb/duckdb-go/issues/21, and I'm closing it here. Please see https://github.com/marcboeker/go-duckdb/issues/565 for more details.
👋 Thanks for opening this issue! This issue has been moved to https://github.com/duckdb/duckdb-go/issues/28, and I'm closing it here. Please see https://github.com/marcboeker/go-duckdb/issues/565 for more details.