duckdb / duckdb-rs

Ergonomic bindings to duckdb for Rust
MIT License
428 stars 87 forks source link

Expose the underlying schema of executed statement #333

Closed abhiaagarwal closed 3 weeks ago

abhiaagarwal commented 3 weeks ago

Adds the ability to get the SchemaRef of the underling executed statement. This is useful if using DuckDB together with other libraries in the arrow ecosystem, like DataFusion. Also adds a couple notices in the docs about certain functions that panic if the underlying statement has yet to be executed.