duckdb-rs icon indicating copy to clipboard operation
duckdb-rs copied to clipboard

Ergonomic bindings to duckdb for Rust

Results 175 duckdb-rs issues
Sort by recently updated
recently updated
newest added

Is there anything on the roadmap to wrap the [Python Relational API](https://duckdb.org/docs/api/python/relational_api.html)? Possibly outside the scope of duckdb-rs proper.

I tried run make locally and found 2 unittest failures. They are caused by mis-interpretation of the DuckDB timestamp value in time zone context. Hope my fix is helpful: https://github.com/wangfenjin/duckdb-rs/pull/150

Running `cargo minimal-versions check` gives a bunch of errors: ``` error[E0432]: unresolved import `std::path::AsPath` --> /Users/maximilian/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.0/src/lib.rs:50:26 | 50 | use std::path::{PathBuf, AsPath}; | ^^^^^^ | | | no `AsPath` in...

Is it normal the bundled crate requires >16GB of RAM to build? It looks like the C++ compiler is compiling one giant cpp file. Is it not possible to perform...

questions

Introduced in https://github.com/duckdb/duckdb/pull/2797, it would be nice to have a binding in Rust as well.

feature

If you open a connection (e.g. `conn1` below) and then perform DDL, the original connection doesn't see the new DDL. Here's some very basic sample code that fails: ``` use...

feature

Currently there is no way to learn how to use this library. There should be a duckdb-rs book for the best practices to do common operations such as inserting, querying...

## Overview Currently Duckdb-rs supports Decimal128, but not Decimal256. However, its support for Decimal128 downcasts to f64. See [decimal_array_to_vector](https://github.com/duckdb/duckdb-rs/blob/a1aa55aff22b75e149e9cf7cface6464b3dc0ccc/src/vtab/arrow.rs#L389-L395). ```rust /// Convert Arrow [Decimal128Array] to a duckdb vector. fn decimal_array_to_vector(array:...

This PR adds the rust feature equivalent of: https://duckdb.org/docs/extensions/jemalloc.html Feel free to re-run `upgrade.sh` from your own machine to re-build `duckdb.tar.gz` and `bindgen_bundled_versions.rs` in case you're worried about any dev...

Merge Conflict

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start)...

auto-dependencies