Re-compressing a parquet file with duckdb

copy (select * from 'existing.parquet' ) to 'compressed.parquet' (FORMAT PARQUET, COMPRESSION 'ZSTD', ROW_GROUP_SIZE 10000);

from to 195MB to 125MB

#duckdb #duckdb_snippets

Instant SQL is here: Speedrun ad-hoc queries as you type - MotherDuck Blog

Type, see, tweak, repeat! Instant SQL is now in Preview in MotherDuck and the DuckDB Local UI. Bend reality with SQL superpowers to get real-time query results as you type. | Reading time: 8 min read

MotherDuck
Introducing the prompt() Function: Use the Power of LLMs with SQL! - MotherDuck Blog

We make your database smarter with small language model (and LLM) support in SQL | Reading time: 6 min read

MotherDuck
Big Data is Dead - MotherDuck Blog

Big data is dead. Long live easy data. | Reading time: 19 min read

MotherDuck
Differential Storage: A Key Building Block For A DuckDB-Based Data Warehouse

Differential Storage: A Key Building Block For A DuckDB-Based Data Warehouse

MotherDuck
Differential Storage: A Key Building Block For A DuckDB-Based Data Warehouse

Differential Storage: A Key Building Block For A DuckDB-Based Data Warehouse

MotherDuck
Perf is not enough - MotherDuck Blog

Are database benchmarks still relevant ? Let's understand why it's a poor way to choose a database. | Reading time: 17 min read

MotherDuck
AI That Quacks: Introducing DuckDB-NSQL-7B, A LLM for DuckDB

Our first Text2SQL model release!

MotherDuck