--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: qvd_next excerpt: | DuckDB Community Extensions Read (streaming) and write Qlik QVD files - next-generation build of qvd on the DuckDB C API v2 extension: name: qvd_next description: Read (streaming) and write Qlik QVD files - next-generation build of qvd on the DuckDB C API v2 version: 0.1.0 language: Rust build: cmake # community label; the actual build goes through the Rust C-API Makefile license: Apache-2.0 # WASM excluded (file-based reading, Read+Seek); mingw/rtools/musl excluded (ABI). excluded_platforms: "wasm_mvp;wasm_eh;wasm_threads;windows_amd64_mingw;windows_amd64_rtools;linux_amd64_musl" requires_toolchains: "rust;python3" maintainers: - snouhaud repo: github: snouhaud/DuckDB-QVD-Extension ref: 9e371e8cd8c5ec655b6c52a4090e2c273a05218a docs: hello_world: | INSTALL qvd_next FROM community; LOAD qvd_next; -- Read (streaming, bounded memory) SELECT * FROM read_qvd('sales.qvd'); SELECT * FROM read_qvd('data/*.qvd'); -- glob -- Write: field names come from the query COPY (SELECT * FROM sales) TO 'output.qvd' (FORMAT qvd); -- Import: values are cast to the target table's column types COPY sales FROM 'output.qvd' (FORMAT qvd); extended_description: | Next-generation build of the [`qvd`](https://github.com/duckdb/community-extensions/tree/main/extensions/qvd) extension, on DuckDB's C API v2 (via the `duckdb-neo` crate). Same SQL surface (`read_qvd`, `COPY ... (FORMAT qvd)`), plus: - `COPY ... TO` keeps the query's column names (`FIELD_NAMES` becomes an optional override); - `COPY ... FROM` casts values to the target table's column types; - `read_qvd(path)` is documented in `duckdb_functions()`. Reading is streaming and projected (bounded memory; only the projected columns' symbol tables are read and decoded), with native typing from the Qlik tags, projection pushdown and multi-file glob. All I/O goes through DuckDB's file system, so `s3://`, `https://`, etc. work once httpfs is loaded (remote globs included). QVD headers are validated against the file before reading, so corrupt files fail cleanly. Trade-off: the C API v2 is not stable yet, so this build targets one exact DuckDB version and is experimental. `qvd` (stable C ABI) remains the conservative choice. Load only one of `qvd` / `qvd_next` per session: both register `read_qvd` and `FORMAT qvd`. extension_star_count: 2 extension_star_count_pretty: 2 extension_download_count: 576 extension_download_count_pretty: 576 image: '/images/community_extensions/social_preview/preview_community_extension_qvd_next.png' layout: community_extension_doc --- ### Compatibility Matrix This table covers all DuckDB releases that have not reached [end-of-life](https://duckdb.org/release_calendar), including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.4.4 | 1.4.5 | 1.5.5 | 1.5.6 | 2.0.0 | | :--- | :---: | :---: | :---: | :---: | :---: | | Linux AMD64 | ❌ | ❌ | ❌ | ❌ | ✅ | | Linux ARM64 | ❌ | ❌ | ❌ | ❌ | ✅ | | macOS AMD64 | ❌ | ❌ | ❌ | ❌ | ✅ | | macOS ARM64 | ❌ | ❌ | ❌ | ❌ | ✅ | | Windows AMD64 | ❌ | ❌ | ❌ | ❌ | ✅ | | Windows ARM64 | ❌ | ❌ | ❌ | ❌ | ❌ | | WebAssembly | ❌ | ❌ | ❌ | ❌ | ❌ | ### Installing and Loading ```sql INSTALL {{ page.extension.name }} FROM community; LOAD {{ page.extension.name }}; ``` {% if page.docs.hello_world %} ### Example ```sql {{ page.docs.hello_world }}``` {% endif %} {% if page.docs.extended_description %} ### About {{ page.extension.name }} {{ page.docs.extended_description }} {% endif %} ### Added Functions | function_name | function_type | description | comment | examples | |---------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|--------------------------------------------------------------------------------------| | read_qvd | table | Reads a Qlik QVD file (or a glob of files, concatenated by field name) as a table, typing columns from the Qlik tags and decoding only the projected columns. | NULL | [SELECT * FROM read_qvd('sales.qvd');, SELECT count(*) FROM read_qvd('data/*.qvd');] | ### Overloaded Functions This extension does not add any function overloads. ### Added Types This extension does not add any types. ### Added Settings | name | description | input_type | scope | aliases | typed_value | |----------------|---------------------------------------------------------|------------|--------|---------|-------------| | temp_directory | Set the directory to which temporary files are written. | VARCHAR | GLOBAL | [] | post.db.tmp |