DuckDB: the analytical database that runs SQL directly on CSV and Parquet files

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

DuckDB removes the import-and-load step from data analysis: anyone with CSV or Parquet files can run full SQL queries on them directly, inside their existing Python or R workflow.

Read this as

DuckDB is a free, open-source database tool built for analysing large spreadsheets of data, like a 2GB CSV file someone emails you. Normally you must load such files into memory or install database software first; DuckDB instead lets you run SQL (the standard data-query language) straight against the file, treating the file itself as a table. It runs inside your own program rather than as a separate server. Analysts and data scientists who regularly poke at data files save time from the first query.

DuckDB targets the gap between 'data sits in files' and 'I need SQL answers', without server installation, licensing or configuration costs mentioned in the article. Teams split across Python and R can share one query language, since official clients exist for Python, R, Java and WebAssembly. Because it is embedded, companies can ship it inside their own applications. It is not positioned to replace enterprise data warehouses; the beneficiaries are analysts working with CSV and Parquet files.

DuckDB is an embedded C++17 analytical (columnar-oriented) database built with CMake, queried via CLI or client libraries for Python, R, Java and Wasm. Files become tables directly: SELECT * FROM 'myfile.parquet'; requires no import or schema definition. The SQL dialect supports nested correlated subqueries, window functions, collations, and arrays, structs and maps, with deep pandas and dplyr integration. The article gives no benchmark numbers beyond mentioning a TPC-H build option (BUILD_TPCH=1).

Read the original

This summary exists to save you time, not to replace the source.

Key terms

DuckDB pandas dplyr Parquet CSV TPC-H

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.