DuckDB 2 · Files and command line

Write query results to Parquet

Export a result as a compressed Parquet file.

COPY (SELECT * FROM sales) TO 'sales.parquet' (FORMAT parquet);

Official DuckDB 2 documentation

More files and command line commands

All files and command line commands · DuckDB 2 cheatsheet

Was this page helpful?