DuckDB has become the go-to tool for analysing files on a laptop: it runs SQL directly on CSV, Parquet and JSON, needs no server, and is remarkably fast. On 21 October 2026 the team released DuckDB 2.0.0, code-named "Cinnamon Teal". It is a long-term support (LTS) release, supported until at least October 2027, and the team calls it their biggest feature release so far, with close to 20,000 commits since version 1.5. Here is what is new, what can break, and how to upgrade.
DuckDB 2.0 preview
The team publishes the feature list; an alpha follows.
DuckDB ships inside dbt v2
No separate adapter to install.
DuckDB 2.0.0 LTS releasedNow
Python and CLI available on day one; other clients and some extensions follow within days.
DuckDB 2.0.1Upcoming
First patch release, planned. Wait for it if your workload is mission-critical.
DuckDB 1.4 support endsUpcoming
The previous LTS; 1.5 is supported until March 2027.
Why analysts like DuckDB
-- Query a folder of Parquet files directly, no loading step
SELECT region, SUM(revenue) AS revenue
FROM 'sales/*.parquet'
GROUP BY region
ORDER BY revenue DESC;No database to set up, no import, and results in seconds on millions of rows. That is why DuckDB now powers many data tools, notebooks and parts of cloud platforms. In August, AWS announced it would acquire DuckLabs, the company behind DuckDB, with the projects staying open source.
What's new in DuckDB 2.0
Server mode with Quack
The biggest shift: DuckDB can now run as a server, so a team can query one DuckDB database instead of passing files around. One process serves, others attach and connect:
-- On the server
CALL quack_serve(token = 'my_token');
-- On a client
ATTACH 'quack:localhost' AS qk (TOKEN 'my_token');
CONNECT qk;By default the server only listens on the same machine. For remote access, the team recommends putting it behind a reverse proxy that handles encryption (TLS). The same CONNECT statement also works with other attached databases such as PostgreSQL and MySQL, and a new optimiser sends the query to the remote database instead of pulling whole tables over the network. DuckDB stays an embedded, in-process database at heart; server mode is an option, not a replacement.
VARIANT for JSON and semi-structured data
VARIANT is now a first-class type. DuckDB spots the common structure in your JSON and stores it in a column-like way ("shredding"), so pulling out a few fields from large documents gets much faster. It also reads and writes shredded VARIANT columns in Parquet.
CREATE TABLE events (payload VARIANT);
INSERT INTO events VALUES
('{"user": {"id": 42, "tags": ["a", "b"]}}'::JSON::VARIANT),
('{"event": "click", "x": 10, "y": 20}'::JSON::VARIANT);
SELECT variant_type(payload), variant_keys(payload) FROM events;
-- OBJECT | [user]
-- OBJECT | [event, x, y]Triggers
For the first time, DuckDB can run SQL automatically when data changes, for example to keep an audit trail:
CREATE TRIGGER trg_audit
AFTER UPDATE ON target
REFERENCING
OLD TABLE AS o
NEW TABLE AS n
FOR EACH STATEMENT
INSERT INTO audit
SELECT n.id, o.val, n.val
FROM o JOIN n ON o.id = n.id;Triggers can run before or after inserts, updates and deletes, per row or per statement. Two combinations are not supported yet: BEFORE ... FOR EACH ROW and UPDATE ... FOR EACH ROW.
Faster reads from cloud storage
Reading Parquet and CSV is now asynchronous: DuckDB keeps several requests in flight while it processes data, which makes queries on s3:// and other object storage much faster. In tests published by MotherDuck on the alpha, reading a 13.6 GB set of Parquet files over a home connection went from 11.8 to 3.9 seconds.
DuckDB 1.5.5DuckDB 2.0 alpha
Seconds, lower is better. MotherDuck's tests on one laptop over a home connection, September 2026; your results will differ.
Agent mode for AI coding tools
When an AI coding agent such as Claude Code, Codex or Cursor drives the DuckDB command line, DuckDB now notices and switches to agent mode: compact Markdown tables, clear notes when results are cut, errors as JSON, early stops for runaway queries and a cost estimate before long ones. On TPC-H, the team says agents had 59% less output to read. Use -agent or -no-agent to switch it by hand.
More SQL features
- Variables
$nameshorthand in most places instead ofgetvariable('name'). In Python,$nameis a query parameter, so keep usinggetvariablethere.- Data changes inside CTEs
INSERT,UPDATE,DELETEandCOPYas steps in a larger query.- NEAREST joins
- Top-k similarity search, such as matching embeddings, written as a join.
- Nested schemas
CREATE SCHEMA finance.reports.- JSON editing
json_set,json_insert,json_replaceandjson_remove.- Standard SQL
FETCH FIRST,UNNESTinGROUP BY, and clear rules forMERGEandUPDATE ... FROMwhen several rows match.- A new SQL parser
- The new parser is now the default, with clearer error messages. It aims to stay compatible; the old one is available as an extension.
- Lakehouse formats
- DuckLake 1.1, more Iceberg REST catalog options, and Delta tables with partitioning and time travel.
What can break
Storage format
The main risk- 2.0 still reads and writes your existing files, and those stay readable by older versions
- DuckDB versions before 2.0 cannot open database files created by 2.0
Upgrade everyone who shares .duckdb files at the same time, and keep a backup.
Lambda syntax
Old arrow switched off- Temporary escape
- SET lambda_syntax = 'enable_single_arrow' (removed in 2.1)
- Use
lambda x: x + 1, e.g.list_transform([1, 2, 3], lambda x: x + 1) x -> x + 1now raises an error by default
Platforms and builds
Housekeeping- Intel Macs (osx_amd64) are being phased out; 2.1 drops them
- Building from source needs C++17
- Time zones and collations are now built in, replacing the ICU library, with the same behaviour
How to upgrade
pip install --upgrade duckdb
python -c "import duckdb; print(duckdb.__version__)" # 2.0.0curl https://install.duckdb.org | sh
duckdb -versionThe Python package and the command-line tool are available now. Other clients, such as Go, R and Java, and some extensions may take a few days to catch up, so check the extensions you rely on before upgrading a whole team.
DuckDB inside dbt
With dbt v2, released in September 2026, DuckDB is built in: no separate dbt-duckdb package, and the driver downloads automatically on first run. A minimal profile is all you need:
my_project:
target: dev
outputs:
dev:
type: duckdb
path: ./warehouse.duckdbThis makes dbt plus DuckDB the easiest way to learn analytics engineering on a laptop, and a fast way to test models before running them on Snowflake, BigQuery or Databricks. dbt v2 also supports DuckLake and Apache Iceberg catalogs through a catalogs.yml file, behind the use_catalogs_v2 flag. Check that your dbt version supports DuckDB 2.0 before switching a shared project's database file.
What it means for you
Analysts
Faster files- Keep using DuckDB for quick file analysis
- 2.0 makes JSON and cloud files much faster
Analytics engineers
Local dbt- Use dbt v2 with DuckDB for local development and teaching
- Free, and needs no warehouse account
Teams
Shared database- Server mode can replace "send me the Parquet file" workflows
- Put it behind a TLS proxy and test it before relying on it
Check your understanding
1/3What does DuckDB's new Quack server mode allow?
DuckDB stays embedded at heart; serving is an option.
2/3Which versions can open a database file created by DuckDB 2.0?
2.0 can still read and write older files, but not the other way round.
3/3How should you write a lambda in DuckDB 2.0?
The single-arrow syntax is switched off by default and goes in 2.1.
You got 0 out of 3.
How does DuckDB 2.0 compare with Polars and Spark? We ran the benchmarks in DuckDB vs Polars vs Spark in 2026. Want to see SQL on your own files without installing anything? SQL Studio runs queries on CSV and Excel files right in your browser. For more on choosing tools, see Choosing the right database and The data stack in 2026. Using dbt? dbt Charts now builds dashboards next to your models, and the Polars cheat sheet covers the other fast way to query files from Python. This week's other data platform news is in data platform news this week.
Sources: the DuckDB blog, "Announcing DuckDB 2.0.0 LTS Cinnamon Teal" (21 October 2026), the DuckDB release calendar and migration guide; "A Preview of DuckDB v2.0" (August 2026); "DuckDB Now Ships inside dbt v2" (September 2026); MotherDuck, "Why DuckDB 2.0 is faster"; DuckLabs, "DuckLabs to Join AWS" (26 August 2026). Code examples were tested on DuckDB 2.0.0.
