duckdb-rs
duckdb-rs copied to clipboard
Ergonomic bindings to duckdb for Rust
I see this compile error when I enable `vscalar` feature. I'm not sure if it's supposed to work without arrow interface to use the `vscalar`. ``` error[E0432]: unresolved import `crate::vtab::arrow`...
Below query is not working but it is working in [shell.duckdb.com](https://shell.duckdb.org/) Doc at https://duckdb.org/docs/sql/statements/pivot.html ```sql PIVOT cities ON year USING sum(population); ``` Why it is not working with this library?...
See the [arrow docs][0]. [0]: https://arrow.apache.org/docs/format/CanonicalExtensions.html#uuid
We are generating queries to read very wide parquet files as part of a Census data extraction service. Through experimentation I've determined the limit of named columns in a select...
The `stream_arrow` API on `Statement` is rather clunky to use, since it requires a `SchemaRef` argument. I'm not quite sure why `query_arrow` doesn't require this, but `stream_arrow` does. Additionally, it's...
Maybe I am misunderstanding the logic here but I wonder why duckdb removes the statement from the cache instead of just getting it? I would expect a call to https://paritytech.github.io/try-runtime-cli/hashlink/lru_cache/struct.LruCache.html#method.get....
The VTab trait https://github.com/duckdb/duckdb-rs/blob/main/crates/duckdb/src/vtab/mod.rs has ```rust pub trait VTab: Sized { /// The data type of the bind data type InitData: Sized + Free; /// The data type of the...
Hello! I'm using duckdb in my rust code, but I cannt add it into my cargo After using **cargo add duckdb --features bundled** and **cargo run**, this happenes Is there...
Hi, what is the recommended way to insert records with mixed types? The docs suggest using Appender or do I just go back to plain old SQL inserts? struct Person...