01 / SETUP
Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
Haybarn 2.0.0 · SQL
INSTALL qvd FROM community;
LOAD qvd FROM community;
Using upstream DuckDB? Follow the maintainer’s installation instructions.
02 / QUERY
Usage example
Read (streaming, bounded memory)
SQL
-- Read (streaming, bounded memory)
SELECT * FROM read_qvd('sales.qvd');
SELECT * FROM read_qvd('data/*.qvd'); -- glob
-- Write (field names via FIELD_NAMES, one per column)
COPY (SELECT id, amount FROM sales) TO 'output.qvd' (FORMAT qvd, FIELD_NAMES (id, amount));
-- Import
COPY sales FROM 'output.qvd' (FORMAT qvd);
Provided by snouhaud. Not yet verified on Haybarn 2.0.0.
Sample data & setupDocumentation and resources
Project and build details
- Repository
- snouhaud/DuckDB-QVD-Extension
- License
- Apache-2.0
- Maintainers
- snouhaud
- Written in
- Rust
- Build source
568d26aba339- Build definition
- Community descriptor