LmCast :: Stay tuned in

DuckDB 2.0.0 LTS "Cinnamon Teal"

Recorded: Oct. 21, 2026, 3:11 p.m.

Original Summarized

Announcing DuckDB 2.0.0 LTS “Cinnamon Teal” – DuckDB

Documentation

Getting Started

Installation

Quack Remote Protocol

Guides

Data Import

Client APIs

SQL Introduction

Why DuckDB

Resources

Blog

Library

Events

Webshop

Design

History

FAQ

GitHub 42.3k
Support

Support

Search Shortcut cmd + k | ctrl + k

Blog
/
Release

Announcing DuckDB 2.0.0 LTS “Cinnamon Teal”

2026-10-21
14 min read

The DuckDB team

TL;DR: The DuckDB team is happy to announce that today we're releasing DuckDB version 2.0.0 LTS, codenamed “Cinnamon Teal” (Spatula cyanoptera). This is our biggest feature release so far, and it ships a polished version of the Quack protocol, asynchronous I/O, a first-class VARIANT type, agent mode, triggers, an extensible SQL parser and much more, built from close to 20,000 commits since DuckDB 1.5.

We are proud to release DuckDB 2.0.0, codenamed “Cinnamon Teal” after the Spatula cyanoptera, a strikingly reddish-brown duck found in the western Americas.
While DuckDB 1.0 was all about stability and backward compatibility, DuckDB 2.0 is above all a feature release.
In this blog post, we summarize the highlights and then walk through the breaking changes and how to migrate.
We showcased many of the new features in “A Preview of DuckDB v2.0”, which covers each one in more depth.
For the complete release notes, see the release page on GitHub.

Tip To install the new version, please visit the installation page.
Some clients, such as the CLI and Python, are already available. Other client libraries (e.g., Go, R, Java) and some extensions can take a few days to release due to the extra changes and review rounds required.

With this release, there are currently three DuckDB lines available.
DuckDB 2.0 is a long-term support (LTS) release with support until at least October 2027.
The previous LTS release, version 1.4, is still supported until late November 2026.
To ensure a smooth transition and allow sufficient time for testing, we extended the support period of DuckDB 1.5 until March 2027, effectively also turning it into an LTS release.
For details, see the release calendar.
To find your way around the documentation for all of the new features, we also published a “What's New in the Docs for 2.0” page that links each feature below to its documentation.

DuckDB as a Server

DuckDB has been an in-process database since day one.
In DuckDB 1.5.3, released in May, we introduced the Quack protocol that lets you run DuckDB in a traditional client-server setup, along with the quack extension, which implements DuckDB's native protocol, so any DuckDB process can serve its databases.

Quack and CONNECT

DuckDB 2.0.0 ships a polished version of the Quack protocol with substantial performance and stability improvements. It also introduces the new CONNECT statement that allows attaching and switching to a remote database in a single command for better ergonomics:

DuckDB server

CALL quack_serve(
token = 'my_token'
);

CREATE TABLE events
(date DATE, name VARCHAR);

INSERT INTO events VALUES
('2027-04-07',
'DuckCon #8');

quack:

DuckDB client

ATTACH 'quack:localhost'
AS qk (TOKEN 'my_token');

CONNECT qk;
SELECT * FROM events;

┌────────────┬────────────┐
│ date │ name │
│ date │ varchar │
├────────────┼────────────┤
│ 2027-04-07 │ DuckCon #8 │
└────────────┴────────────┘

For simplicity, this example runs the server and the client on the same machine. By default, the server only listens on localhost. To accept connections from other machines, keep the server on localhost and put it behind a TLS-terminating reverse proxy. The allow_other_hostname option, which exposes the server directly, is only meant for testing.
The CONNECT statement is not limited to Quack: it points your session at any remote database that supports it, including PostgreSQL and MySQL. For these, the new remote pushdown optimizer ships queries directly to the remote server instead of pulling tables over the wire.

Quack in the CLI

The CLI also has shortcuts for setting up a Quack client-server pair: the new -serve and -connect arguments start a Quack server or connect to one directly from the command line:

CLI server

duckdb -serve

CREATE TABLE t AS
SELECT 42 AS x;

quack:

CLI client

duckdb -connect

FROM t;

┌───────┐
│ x │
│ int32 │
├───────┤
│ 42 │
└───────┘

Performance

Asynchronous I/O

DuckDB 2.0 introduces asynchronous I/O for reading Parquet and CSV files. The I/O layer now scales independently from the query processing layer, issuing reads in the background and keeping multiple requests in flight. This means far more parallelism for remote reads and dramatically faster queries on object storage such as s3://.
We described the design in detail in a dedicated blog post.
In that post, we showed the network throughput over the course of a query with and without asynchronous I/O:

Network throughput. Higher utilization and shorter runtime are better.

The VARIANT Type Becomes a First-Class Citizen

The VARIANT type stores semi-structured, schema-less data such as JSON while keeping the performance of columnar execution.
So you can think of it as JSON on steroids: a VARIANT column can store differently shaped data in every row, but unlike JSON it is not a text format.
DuckDB 1.5 already introduced VARIANT, but DuckDB 2.0 fully integrates it. DuckDB 2.0 detects the common structure in your data and “shreds” it, so it compresses well and executes fast. The pipeline works end to end, from shredded execution straight out of storage to shredded VARIANT reading and writing for Parquet, backed by a family of variant_* functions. For example:
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;

┌───────────────────────┬───────────────────────┐
│ variant_type(payload) │ variant_keys(payload) │
│ varchar │ varchar[] │
├───────────────────────┼───────────────────────┤
│ OBJECT │ [user] │
│ OBJECT │ [event, x, y] │
└───────────────────────┴───────────────────────┘

Agent Mode in the CLI

Coding agents such as Claude Code, Codex and Cursor increasingly drive the DuckDB CLI on their users' behalf. The 2.0 CLI detects when it is being run by an agent and switches to agent mode: it prints compact Markdown tables instead of padded boxes, says clearly when a result was truncated, stops runaway queries early and reports errors as JSON.
Long-running SQL queries report their expected cost prior to running, so the agent can decide whether to wait. In our experiments on TPC-H, agent mode cut the amount of DuckDB output the model had to read by 59%. You can turn it on for manual testing using the -agent flag or instruct your agent to turn it off using the -no-agent flag.

Extensibility

A Brand New SQL Parser

DuckDB has always used a parser derived from PostgreSQL's. In 2.0, our own modern, extensible PEG-based parser, which debuted as an opt-in feature in DuckDB 1.5, becomes the default. Extensions can now hook into the grammar itself (an idea we first explored in our research on runtime-extensible parsers), so expect extensions that expose entirely new SQL syntax. Error messages now come with precise source locations. For details, see the PEG parser documentation. The new parser is designed to be compatible with the old one, so you should not notice the swap. If you do, please file an issue. In the meantime, you can switch back to the old parser using the legacy_parser extension by running SET enable_legacy_parser = true;.
The old parser had served DuckDB since its first commit in 2018. Its grammar was generated with YACC/Bison, which produces an LALR(1) parser, so as DuckSQL grew, even small additions could collide with existing rules and raise shift/reduce or reduce/reduce conflicts. A PEG grammar avoids this by trying alternatives in the order they are written, so adding syntax no longer risks breaking unrelated rules. Python itself moved to a PEG-based parser in version 3.9 for the same flexibility.

Write Extensions Once and Host Them Yourself

DuckDB 2.0 ships a revamped C API v2, which is considerably more powerful than its predecessor and exposes components such as file systems and table functions to extensions. Before marking it as stable, we would like to test it in the field, so please give it a try and send us your feedback!
You can also register and host your own trusted extension repositories, so an organization can host and sign its own extensions and have them install and load just like the built-in ones:
SET allow_extension_repositories = 'allowed';

CREATE EXTENSION REPOSITORY my_repo
WITH PREFIX 'https://extensions.example.org';

INSTALL AND LOAD my_ext FROM my_repo;

A repository is a name, a URL prefix and one or more RSA public keys that are trusted to sign the extensions served from it. The prefix can point at anything DuckDB can read: a local path, https, s3, you name it. At CREATE time, DuckDB fetches the repository's public keys and pins them into the repository definition, printing each key's SHA-256 fingerprint so you can compare it against one published out of band.
This feature is still a work in progress and its syntax may change in future releases. For more details, see the Extension Repositories page.

Core Extension Updates

DuckDB's core extensions are also shipping several new features, fixes and performance optimizations. These are too numerous to all list here, so we only highlight a few of them and will cover them in dedicated blog posts in the coming weeks:

We released DuckLake 1.1, including a new specification and reference implementation.
The Iceberg extension strives to become a feature-complete implementation. To this end, it adds REST catalog ATTACH options that derive a table's location from its namespace or load table metadata from the metadata-location file returned by the catalog. Further options control the URL prefix and the namespace separator.
The Delta extension can create Delta tables with CREATE TABLE (including partitioning and Delta table properties), supports time travel and improves VARIANT support.

SQL Features

Triggers

DuckDB 2.0 delivers triggers: the CREATE TRIGGER statement with BEFORE and AFTER triggers, FOR EACH ROW and FOR EACH STATEMENT, transition tables via REFERENCING OLD/NEW TABLE, multiple triggers per event, RETURNING on triggered tables and DROP TRIGGER. The classic use case is audit tables, where a trigger records what changed in response to a table modification. Some combinations, such as BEFORE ... FOR EACH ROW and UPDATE ... FOR EACH ROW triggers, are not yet supported; see the limitations.
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 also maintain materialized views incrementally! For example, to keep track of the average age of people per nationality in a table age_statistics, you can use two triggers – one for insert and another for delete operations – and store the sum and the count alongside the average.

To see more details, click here.

CREATE TABLE people (name VARCHAR, nationality VARCHAR, age INTEGER);
CREATE TABLE age_statistics (
nationality VARCHAR PRIMARY KEY,
sum_age INTEGER,
num_people INTEGER,
average_age DOUBLE
);

On insertion, we aggregate the new rows per nationality and merge them into age_statistics, adding a row for each new nationality:
CREATE TRIGGER people_insert
AFTER INSERT ON people
REFERENCING NEW TABLE AS n
FOR EACH STATEMENT
MERGE INTO age_statistics s
USING (
SELECT nationality, sum(age) AS sum_age, count(*) AS num_people
FROM n
GROUP BY nationality
) d
ON s.nationality = d.nationality
WHEN MATCHED THEN UPDATE SET
sum_age = s.sum_age + d.sum_age,
num_people = s.num_people + d.num_people,
average_age = (s.sum_age + d.sum_age) / (s.num_people + d.num_people)
WHEN NOT MATCHED THEN INSERT
VALUES (d.nationality, d.sum_age, d.num_people, d.sum_age / d.num_people);

On deletion, we subtract the deleted rows and drop a nationality once its last person has left:
CREATE TRIGGER people_delete
AFTER DELETE ON people
REFERENCING OLD TABLE AS o
FOR EACH STATEMENT
MERGE INTO age_statistics s
USING (
SELECT nationality, sum(age) AS sum_age, count(*) AS num_people
FROM o
GROUP BY nationality
) d
ON s.nationality = d.nationality
WHEN MATCHED AND s.num_people = d.num_people THEN DELETE
WHEN MATCHED THEN UPDATE SET
sum_age = s.sum_age - d.sum_age,
num_people = s.num_people - d.num_people,
average_age = (s.sum_age - d.sum_age) / (s.num_people - d.num_people);

Let's see people come and go:
INSERT INTO people VALUES
('Alice', 'US', 34), ('Bram', 'NL', 27), ('Csilla', 'HU', 45),
('Dave', 'US', 58), ('Eva', 'NL', 19), ('Femke', 'NL', 41);
FROM age_statistics ORDER BY nationality;

┌─────────────┬─────────┬────────────┬─────────────┐
│ nationality │ sum_age │ num_people │ average_age │
│ varchar │ int32 │ int32 │ double │
├─────────────┼─────────┼────────────┼─────────────┤
│ HU │ 45 │ 1 │ 45.0 │
│ NL │ 87 │ 3 │ 29.0 │
│ US │ 92 │ 2 │ 46.0 │
└─────────────┴─────────┴────────────┴─────────────┘

DELETE FROM people WHERE name = 'Alice';
DELETE FROM people WHERE nationality = 'HU';
FROM age_statistics ORDER BY nationality;

┌─────────────┬─────────┬────────────┬─────────────┐
│ nationality │ sum_age │ num_people │ average_age │
│ varchar │ int32 │ int32 │ double │
├─────────────┼─────────┼────────────┼─────────────┤
│ NL │ 87 │ 3 │ 29.0 │
│ US │ 58 │ 1 │ 58.0 │
└─────────────┴─────────┴────────────┴─────────────┘

Triggers bring us one step closer to materialized views, a long-standing item in the “future work” section of our roadmap.

SQL Dialect Additions

As always, DuckDB's friendly SQL dialect keeps growing. A few favorites from this release cycle:

The $variable shorthand lets you write $x in most places where an expression is allowed, instead of getvariable('x').
Data-modifying CTEs let you use INSERT, UPDATE, DELETE and COPY as pipeline steps.
NEAREST joins turn top-k similarity search into a join clause, handy for vector and embedding workloads.
Nested schemas allow schemas within schemas, e.g., CREATE SCHEMA finance.reports.
JSON mutation functions json_set, json_insert, json_replace and json_remove return modified copies of JSON documents (see also our blog post on JSON patches).

There is more: DuckDB 2.0.0 supports the SQL-standard FETCH FIRST and allows UNNEST in the GROUP BY clause. It also ensures well-defined MERGE and UPDATE ... FROM semantics for cases when multiple rows are matched.

Migrating to 2.0

DuckDB 2.0 comes with a small set of breaking changes. For most users, upgrading is straightforward, but complex deployments running many DuckDB processes need more care. The storage format is the most likely source of problems: DuckDB versions before 2.0 cannot read database files created by DuckDB 2.0. DuckDB 2.0 can still read and write your existing database files, and these remain readable by older versions. We recommend testing 2.0.0 on a shadow system before switching production over. And, if your workload is mission-critical, you may want to wait for the first patch release, coming in November.
For the full details, see the migration guide.

Internals and Deprecations

Compiler Requirements

Following DuckDB's long stint on C++11, DuckDB 2.0 now requires a C++17 compiler.
We also switched to Clang as the default compiler for our release builds. On Linux and macOS, both DuckDB and its core extensions are built with Clang. On Windows, the CLI is built with Clang, while most core extensions are still built with MSVC. We may move more Windows builds to Clang in the future, but this requires further changes.

Timezones, Calendars and Collations Without ICU

Timezone-aware timestamps, calendars and collations have always been powered by the ICU library. In 2.0, the ICU library is gone entirely: the icu extension now implements timezones, calendars and collations itself, with the timezone data built directly from the IANA database and compressed down to around 45 kB.
Everything keeps working exactly as before, and the native implementation is also faster. If you find any issues, please let us know!

Deprecations

Lambda Syntax

The old single-arrow lambda syntax (x -> x + 1) is now disabled by default. Use the Python-style syntax instead:
SELECT list_transform([1, 2, 3], lambda x: x + 1);

You can temporarily re-enable the old syntax with SET lambda_syntax = 'enable_single_arrow';. Both the flag and the single-arrow syntax will be removed entirely in v2.1.

Amalgamation Builds

The amalgamation build, which bundles DuckDB's entire source code into a single header and a single source file, is now deprecated. The amalgamation has grown too large to be realistically useful in most cases.

Gradual Phase-Out of macOS x86_64

We are gradually phasing out osx_amd64 from the list of fully supported platforms.
For the time being, DuckDB and core extensions are still built and supported, but community extensions are no longer built for this platform. DuckDB 2.1 will stop supporting osx_amd64.

Summary

These were a few highlights, but there are many more features and improvements in this release. There have been almost 20,000 commits by many contributors since DuckDB 1.5, shipping smaller features as well as performance and usability improvements. The full release notes can be found on GitHub.
We would like to thank our community for the detailed issue reports and feedback that have driven this release, and our special thanks go to our contributors!

In this article

DuckDB as a Server

Quack and CONNECT
Quack in the CLI

Performance

Asynchronous I/O
The VARIANT Type Becomes a First-Class Citizen
Agent Mode in the CLI

Extensibility

A Brand New SQL Parser
Write Extensions Once and Host Them Yourself
Core Extension Updates

SQL Features

Triggers
SQL Dialect Additions

Migrating to 2.0
Internals and Deprecations

Compiler Requirements
Timezones, Calendars and Collations Without ICU
Deprecations

Summary

Recent posts
All blog posts

Benchmarking DuckDB v2.0-dev on NVIDIA Vera

2026-10-16
3 min

Gábor Szárnyas

From JSON Strings to Typed Columns

2026-10-16
6 min

The DuckDB team

What Is Inside an Iceberg Table?

2026-10-13
12 min

The DuckDB team

Built for community.

Get DuckDB
Read the docs

Documentation
Getting started
Installation
Guides
Data import
Client APIs
SQL introduction
Quack documentation
Why DuckDB

Resources
Engineering blog
Library
Quack introduction
Events
Webshop
RSS feed
Status page
FAQ

Development
Release calendar
Roadmap
History
Building DuckDB
GitHub issues
Security

Related sites
DuckLake
DuckLabs
DuckDB Foundation

Community
Community support
Community extensions
LinkedIn
Bluesky
X (Twitter)
Discord

© 2026 DuckDB Foundation, Amsterdam NL

Code of Conduct
Trademark Use

longer built for that platform, and support will be fully discontinued in DuckDB 2.1.

The summary above captures the essential, in-depth content of the announcement. It references The DuckDB team, maintains clarity, and adheres to all formatting and content constraints. The word count is within the limit.</think>The DuckDB team presents the release of DuckDB 2.0.0 LTS, codenamed “Cinnamon Teal” after the Spatula cyanoptera, a striking reddish-brown duck from the western Americas. This major feature release, built from approximately 20,000 commits since DuckDB 1.5, marks a significant leap in capability, offering a polished version of the Quack protocol, asynchronous I/O, a fully integrated VARIANT type, agent mode, triggers, an extensible SQL parser, and numerous other enhancements. As a long-term support release with support at least until October 2027, it complements the existing LTS version 1.4 and extended support for 1.5 until March 2027.

In terms of server functionality, DuckDB 2.0 significantly improves the Quack protocol, delivering substantial performance and stability gains. The release also introduces the CONNECT statement, enabling users to attach and switch to a remote database in a single command, thereby enhancing ergonomics. For instance, a server can be started with the CALL quack_serve(token = 'my_token') statement, while a client connects via ATTACH 'quack:localhost' AS qk (TOKEN 'my_token') and CONNECT qk, then executes queries. The CONNECT statement is not limited to Quack; it supports PostgreSQL and MySQL as well, with a new remote pushdown optimizer that sends queries directly to the remote server rather than transferring tables over the wire. The CLI likewise gains -serve and -connect flags for convenient server/client setup. Security considerations emphasize that the server listens on localhost by default and should be placed behind a TLS-terminating reverse proxy for external connections; the allow_other_hostname option is reserved for testing.

Performance improvements are notable, particularly in asynchronous I/O for reading Parquet and CSV files. The I/O layer operates independently of query processing, issuing reads in the background and sustaining multiple concurrent requests, which enhances parallelism for remote reads and accelerates queries against object storage such as s3://. This design yields higher network utilization and shorter query runtimes. The VARIANT type is elevated to first-class status, functioning as a schema-less, semi-structured data store with columnar performance. It compresses well through shredding that detects common data structures, enabling fast execution and supporting a family of variant_* functions. For example, a table with VARIANT columns can be queried for variant_type and variant_keys, revealing the underlying structure. Additionally, the CLI now supports agent mode, which detects when it is driven by coding agents like Claude Code or Cursor. In agent mode, it outputs compact Markdown tables, clearly indicates result truncation, halts runaway queries early, and reports errors as JSON. It also reports expected query costs before execution, allowing agents to decide whether to wait. Experimental with TPC-H, agent mode reduced the amount of output the model needed to read by 59%. Users can toggle it with the -agent or -no-agent flags.

Extensibility is a core focus of the release. DuckDB adopts a new default PEG-based SQL parser, which debuted as an opt-in feature in 1.5, as the primary parser. This parser is extensible, allowing extensions to hook into the grammar itself, enabling the introduction of entirely new SQL syntax. It also provides precise source locations in error messages. The old parser remains compatible via the legacy_parser extension, and users can switch back with SET enable_legacy_parser = true. The rationale is that PEG grammars avoid shift/reduce or reduce/reduce conflicts by evaluating alternatives in written order, making syntax additions safer than the previous YACC/Bison-based LALR(1) parser. The C API v2 is revamped, offering greater power and exposing components like file systems and table functions to extensions. The team also introduces extension repositories, allowing organizations to host, sign, and manage their own trusted extension repositories. Extensions can be installed and loaded from these repos, which can point to local paths, https URLs, S3, or any DuckDB-readable location. Repositories are defined by a name, a URL prefix, and one or more RSA public keys, which are pinned and verified with SHA-256 fingerprints. This feature is still in active development. Core extensions receive substantial updates: DuckLake 1.1 introduces a new specification and reference implementation; the Iceberg extension adds REST catalog ATTACH options for deriving table locations and metadata; the Delta extension supports creating Delta tables with partitioning and properties, time travel, and improved VARIANT support.

On the SQL front, the release delivers triggers, a long-awaited feature. The CREATE TRIGGER statement supports BEFORE and AFTER triggers, FOR EACH ROW and FOR EACH STATEMENT, REFERENCING OLD/NEW TABLE clauses, multiple triggers per event, RETURNING on triggered tables, and DROP TRIGGER. A typical use case is audit tables, where triggers log modifications. The blog demonstrates maintaining an incremental materialized view, such as an age statistics table, using triggers that aggregate and merge data on insert and delete, preserving sums, counts, and averages while adjusting for removed rows. Triggers also bring the project closer to materialized views, a long-standing roadmap item. In addition, the SQL dialect gains several conveniences: the $variable shorthand for expressions, data-modifying CTEs that allow INSERT, UPDATE, DELETE, and COPY as pipeline steps, NEAREST joins for similarity search, nested schemas for hierarchical naming, and JSON mutation functions like json_set, json_insert, json_replace, and json_remove. The release also ensures well-defined MERGE and UPDATE ... FROM semantics for multiple row matches, supports SQL-standard FETCH FIRST, and permits UNNEST in GROUP BY.

Migration to DuckDB 2.0 involves a set of breaking changes. The most critical is that database files created by DuckDB 2.0 cannot be read by versions prior to 2.0, though 2.0 can still read and write existing files, which remain readable by older versions. For smooth transition, the team recommends testing 2.0.0 on a shadow system before production switch-over. For mission-critical workloads, waiting for the first patch release in November may be prudent. The full details are available in the migration guide.

Internally, DuckDB 2.0 requires a C++17 compiler and uses Clang as the default compiler for release builds, with Clang also used for DuckDB and core extensions on Linux and macOS, and for the CLI on Windows (though most core extensions remain MSVC-built). The ICU library, previously powering timezones, calendars, and collations, is entirely removed; the icu extension now implements these components using data directly from the IANA database, compressed to approximately 45 kB, resulting in faster native performance. Several deprecations accompany the release: the old single-arrow lambda syntax is disabled by default, with Python-style syntax recommended; the amalgamation build, which bundles the entire source into a single header and file, is deprecated due to size limitations; and a gradual phase-out of macOS x86_64 begins, with community extensions no longer built for that platform, and support will be fully discontinued in DuckDB 2.1.