Amazon Athena DuckDB is a new query engine option for Athena, announced in preview on December 1, 2026, that runs your SQL on DuckDB instead of Athena's Trino-based engine version 3, billed per DPU-hour instead of per terabyte scanned. You try it by creating a workgroup with the engine version set to DuckDB (or by overriding the engine for a single query), in one of five preview Regions. It is worth testing now for dashboards, agents and other high-volume small queries; it is not yet a drop-in replacement for engine v3, because the SQL dialect, the result format and several features differ.

The announcement is on the AWS What's New feed, and the details below come from the Athena User Guide section on DuckDB and the Athena pricing page, checked on December 2, 2026. Preview behaviour changes quickly, so treat every limit below as "true as of the first week of December 2026".

What Athena DuckDB actually is

DuckDB is the open-source, in-process analytical database many data engineers use locally for Parquet. In August 2026 Amazon signed a definitive agreement to acquire DuckLabs, the Amsterdam company behind it. That post states that DuckDB stays open source under the independent DuckDB Foundation and the MIT license, with the original creators still leading the technical direction. Athena powered by DuckDB is the first big Athena product to come out of that deal.

Mechanically, Athena runs each DuckDB query on serverless workers measured in Data Processing Units (DPUs). The docs say a DPU "typically provides 4 vCPU and 16 GB of memory." A query runs either on a single worker or, for eligible read-only queries, across several workers, which is the part DuckDB alone cannot do: your laptop's DuckDB is one process on one machine, and Athena's version can spread one SELECT over many.

It reads the same AWS Glue Data Catalog that engine v3 uses, so you do not redefine tables. Supported table types in the preview are Hive tables (Parquet scales out best), Apache Iceberg tables including Iceberg format v3, and Amazon S3 Tables. You write queries in DuckDB's dialect, not Trino's.

AWS's launch claims, which are vendor-reported and which I have not reproduced, are that queries "run up to 2x faster and cost up to 50% less on large datasets compared to Athena version 3." Run your own queries before you believe either number for your workload.

Where it is available

The Regions and availability page lists five preview Regions:

Region Code Largest DPU size for one query
US East (N. Virginia) us-east-1 124 DPUs
US East (Ohio) us-east-2 60 DPUs
US West (Oregon) us-west-2 124 DPUs
Europe (Ireland) eu-west-1 124 DPUs
Asia Pacific (Tokyo) ap-northeast-1 60 DPUs

One trap: AWS CLI and SDK versions released before December 1, 2026 do not have the EngineVersion parameter on StartQueryExecution or the new GetQueryResultStream operation. Creating a DuckDB workgroup works with an older CLI, but per-query engine overrides and Arrow streaming do not. Upgrade your CLI before you start.

How to try Athena DuckDB in 15 minutes

There are three entry points.

Option 1: a dedicated DuckDB workgroup

This is the cleanest test, because everything in the workgroup runs on DuckDB and billing is easy to isolate. First confirm the engine is offered in your Region:

aws --version   # needs a release from 2026-12-01 or later for overrides/streaming
aws athena list-engine-versions --region us-east-1

Then create the workgroup. The SelectedEngineVersion value must be exactly DuckDB; if you leave the engine version out, Athena's automatic engine selection picks engine v3, never DuckDB.

aws athena create-work-group \
  --name duckdb-trial \
  --configuration '{ "EngineVersion": { "SelectedEngineVersion": "DuckDB" } }' \
  --region us-east-1

The first DuckDB workgroup in an account creates the service-linked role AWSServiceRoleForAmazonAthena using your credentials, so the caller needs iam:CreateServiceLinkedRole. If your platform team does not hand that out, they can create it once with aws iam create-service-linked-role --aws-service-name ops.athena.amazonaws.com. You also cannot name the workgroup duckdb, athena-duckdb or athenaduckdb in any letter case.

New DuckDB workgroups store results in Athena managed query results by default, so you do not need an S3 output location. Run a query and poll for completion:

QID=$(aws athena start-query-execution \
  --work-group duckdb-trial \
  --query-execution-context Catalog=AwsDataCatalog,Database=analytics \
  --query-string "SELECT region, count(*) AS orders, sum(amount) AS revenue FROM sales GROUP BY ALL ORDER BY region" \
  --query QueryExecutionId --output text --region us-east-1)

aws athena get-query-execution --query-execution-id "$QID" \
  --query 'QueryExecution.Status.State' --output text --region us-east-1

aws athena get-query-results --query-execution-id "$QID" --region us-east-1

Do not skip the status check. The considerations page warns that on DuckDB workgroups StartQueryExecution "returns a successful response even when the SQL is invalid." If your pipeline treated a successful start call as proof that the SQL parsed, it will now silently queue broken queries. Always read Status.State and Status.AthenaError from GetQueryExecution.

Option 2: override the engine for one query

If you already have an engine v3 workgroup with permissions and result settings you like, you can send one query to DuckDB without touching the workgroup:

aws athena start-query-execution \
  --work-group analytics-v3 \
  --engine-version DuckDB \
  --query-string "SELECT strftime(order_date, '%Y-%m') AS m, count(*) FROM analytics.sales GROUP BY ALL" \
  --region us-east-1

aws athena get-query-execution --query-execution-id "<id>" \
  --query QueryExecution.EngineVersion --region us-east-1

The second call should show "EffectiveEngineVersion": "DuckDB". The override is refused with InvalidRequestException if the workgroup enforces its configuration ("Override client-side settings"), uses IAM Identity Center, customer content encryption, S3 Access Grants for results, or a Capacity Reservation, or if you turn on query result reuse. The override page lists each error message. Athena does not translate SQL between engines, so the query string itself must be DuckDB SQL.

Option 3: from a local DuckDB session

The new Athena extension for DuckDB lets your local DuckDB client attach an Athena workgroup as a catalog, run eligible statements on Athena, and join the results with local files. Per the install page it requires DuckDB 2.0.1 and a matching extension build, on Linux x86-64 or ARM64 (glibc 2.34 or later, which rules out Amazon Linux 2), macOS on Apple silicon, or Windows x86-64.

CREATE EXTENSION REPOSITORY IF NOT EXISTS aws.amazon.com;
INSTALL athena FROM aws.amazon.com;

LOAD athena FROM aws.amazon.com;
INSTALL AND LOAD aws;
CREATE SECRET athena_creds
    (TYPE aws, PROVIDER credential_chain, REGION 'us-east-1', REFRESH 'auto');
ATTACH 'athena://us-east-1/duckdb-trial' AS ath
    (TYPE athena, Secret 'athena_creds', READ_ONLY);

SELECT * FROM ath.analytics.sales LIMIT 10;

READ_ONLY is my addition for a first session; it makes the attached catalog refuse writes. The docs warn that a per-table read without a filter that can be pushed to Athena "can return the whole table" to your laptop, so put the filter in the query, and be suspicious of SELECT * joins against local data.

Athena DuckDB vs Athena engine version 3 (Trino)

Here is how the two engines differ in practice, compiled from the user guide and pricing page.

Area Engine v3 (Trino) DuckDB (preview)
Billing $5 per TB scanned (10 MB minimum per query), or Capacity Reservations Per DPU-hour, billed per millisecond, 100 ms minimum
SQL dialect Trino DuckDB (GROUP BY ALL, QUALIFY, ASOF JOIN, FROM-first syntax)
Per-query scan cutoff BytesScannedCutoffPerQuery enforced Accepted but not enforced
Result reading GetQueryResults, older drivers Also Arrow via GetQueryResultStream; JDBC/ODBC 4.0.0+ or ADBC required
Result storage default Your S3 output location Managed query results
Federated queries Yes (Lambda connectors) No
Lake Formation-registered tables Yes No, any statement on them fails
Delta Lake, Hudi, ORC tables Yes No
OPTIMIZE, VACUUM, materialized views Yes No
Prepared statements (PREPARE) Yes No; use execution parameters
Query timeouts DML timeout is an adjustable service quota 30 min queue, 60 min run, fixed in preview

Supported and unsupported in the preview

The unsupported list on the considerations page is long, and the items most likely to bite real teams are:

  • Lake Formation. Tables whose S3 location is registered with Lake Formation fail for every statement, even for principals with full-table access. If your lake is governed through Lake Formation, the preview is effectively a non-starter for those tables.
  • Cross-account catalogs and resource links, federated sources (DynamoDB, MySQL, PostgreSQL, Snowflake and the rest), and USING EXTERNAL FUNCTION UDFs.
  • Cross-Region S3 reads. The bucket must be in the workgroup's Region.
  • Iceberg gaps. No branch or tag reads, no incremental or changelog reads, no Iceberg views, no copy-on-write writes, no writes to Iceberg v1 tables, no INSERT OVERWRITE, and none of the maintenance procedures (snapshot expiry, compaction, orphan-file removal).
  • Workgroup settings. IAM Identity Center workgroups, customer content encryption, CSE-KMS results and MonitoringConfiguration are rejected.

The supported side is also real: SELECT with the full DuckDB clause set, INSERT, UPDATE and DELETE, CREATE TABLE for Hive and Iceberg, CTAS, COPY ... TO S3, Iceberg time travel by snapshot ID or timestamp, execution parameters and saved queries. Both engines share the Glue catalog, so the practical pattern is to keep an engine v3 workgroup for maintenance (OPTIMIZE, VACUUM) and anything Lake Formation-governed, and route read-heavy queries to DuckDB.

The SQL differences that return wrong answers silently

The dangerous changes are the ones that return a different result with no error. AWS documents these on the SQL differences page, and you cannot switch them off with settings:

Expression Engine v3 DuckDB
5 / 2 on integers 2 2.5 (use 5 // 2)
1 / 0 on integers query fails Infinity
regexp_replace('a1b2', '[0-9]', 'X') aXbX aXb2 (add 'g')
concat('a', NULL, 'b') NULL ab
date_diff('day', a, b) whole days elapsed day boundaries crossed
arr[0] query fails NULL (1-based)
CAST(2.5E0 AS BIGINT) 3 2 (round half to even)

The integer division row alone will break every "conversion rate" metric that divides two counts. A typical rewrite of a monthly report looks like this:

-- Engine v3 (Trino)
SELECT date_format(order_date, '%Y-%m') AS order_month,
       approx_distinct(customer) AS customers,
       sum(amount) AS revenue
FROM sales
GROUP BY 1;

-- DuckDB
SELECT strftime(order_date, '%Y-%m') AS order_month,
       approx_count_distinct(customer) AS customers,
       sum(amount) AS revenue
FROM sales
GROUP BY ALL;

AWS ships a migration agent in the console for this. It can assess up to 50,000 recent queries from a workgroup, translate individual queries, and validate a translation by running it on DuckDB and comparing row count and schema with the original. Note what validation compares: row count and schema, not values. For the expressions in the table above, row count and schema match while the numbers are different, so diff the actual result values on a sample before you switch a dashboard.

The cost model as published

Pricing on the Athena pricing page (as of December 2026) is per DPU-hour, billed per millisecond with a 100 ms minimum. The page's worked examples use $0.35 per DPU-hour; check the Region selector for your Region's rate. The examples:

  • A 4-DPU dashboard query running 2 seconds: 4 x 2,000 ms / 3,600,000 = 0.0022222 DPU-hours, about $0.00078. A thousand runs a month is $0.78.
  • A 0.25-DPU lookup running 1 second costs about $0.0000243. A million of them is $24.30.

Compare that with engine v3's per-scan model at $5 per TB with a 10 MB minimum per query: every tiny lookup costs at least roughly $0.00005, about double the DuckDB example lookup. That is where the "agents run lots of small queries" pitch comes from.

For big scans the comparison flips into "it depends on runtime." A useful way to think about it is break-even: an engine v3 query scanning 200 GB costs about $1.00. At $0.35 per DPU-hour, $1.00 buys about 2.86 DPU-hours, or roughly 10,300 DPU-seconds. If DuckDB finishes that query on 32 DPUs in under about five minutes, it is cheaper; if it runs on 124 DPUs for five minutes, it is not. You cannot know without running it, which is why the next section matters.

Control spend before you send real traffic

Two preview behaviours change how you cap cost:

  1. BytesScannedCutoffPerQuery is accepted on DuckDB workgroups but not enforced. If you relied on it as a guardrail on engine v3, you have no per-query scan limit on DuckDB.
  2. The cap you do get is a DPU range, set in the workgroup's engine configuration under the athena-execution-properties classification. Values run from 0.25 to 124, in multiples of 0.25, and above 16 they must be multiples of 4. Defaults are 0.25 minimum and 124 maximum. The minimum is not a minimum charge.

Here is a workgroup that caps any single query at 16 DPUs and enforces that cap. I assembled the JSON from the WorkGroupConfiguration and EngineConfiguration shapes in the Athena API reference; I could not run it against a preview account, so validate it in a sandbox first.

aws athena create-work-group \
  --name duckdb-capped \
  --region us-east-1 \
  --configuration '{
    "EngineVersion": { "SelectedEngineVersion": "DuckDB" },
    "EnforceWorkGroupConfiguration": true,
    "PublishCloudWatchMetricsEnabled": true,
    "EngineConfiguration": {
      "Classifications": [{
        "Name": "athena-execution-properties",
        "Properties": { "min-dpu-count": "0.25", "max-dpu-count": "16" }
      }]
    }
  }'

Know the sizing quirks: compute sizes are currently 1 DPU, 4 DPUs and larger, with nothing in between, so a range of 2 to 3 fails at start with "No valid compute size fits the requested DPU range." A query only scales out across workers when max-dpu-count is 8 or more (or unset), and each extra worker adds 4 DPUs. Many statements always run on one worker capped at 4 DPUs: every non-SELECT statement including CTAS and INSERT, anything reading S3 paths directly with read_parquet or FROM 's3://...', views, CSV/JSON Hive tables, and queries using ASOF JOIN, UNNEST, DISTINCT ON or WITH RECURSIVE. If your benchmark query is one of those, you are benchmarking one worker.

Measuring what a query cost

After a query finishes, read DpuConsumedInMillis and DpuCount from QueryExecution.Statistics. Pretty-print the JSON with the JSON formatter if you are eyeballing it.

aws athena get-query-execution --query-execution-id "$QID" --region us-east-1 \
  --query 'QueryExecution.Statistics.{dpu_ms:DpuConsumedInMillis,peak_dpu:DpuCount,scanned:DataScannedInBytes,ms:TotalExecutionTimeInMillis}'

Multiply DpuConsumedInMillis / 3,600,000 by your Region's DPU-hour rate to get the query's compute cost. These fields appear a couple of minutes after completion, and AWS notes that during the preview the values "might vary for the same query," so average over several runs. The CloudWatch ProcessedBytes metric is always 0 for DuckDB queries; use DataScannedInBytes. Your S3 GET/LIST requests, Glue catalog calls and KMS decrypts are still billed at their normal rates.

Results, drivers and permissions

  • Drivers. JDBC and ODBC drivers older than 4.0.0 cannot read DuckDB results at all. Upgrade drivers before pointing a BI tool at a DuckDB workgroup.
  • Result metadata. ColumnInfo.Type uses DuckDB names (VARCHAR, INTEGER) rather than Trino's lowercase names, an unnamed column is named after its expression ((1 + 1)) instead of _col0, and SHOW/DESCRIBE/EXPLAIN return structured rows instead of text. Code that parses any of these needs a change.
  • Arrow streaming. GetQueryResultStream returns Apache Arrow, only for workgroups on managed query results. The ADBC driver uses this path.
  • IAM. DuckDB uses the same Athena actions as engine v3, plus athena:GetQueryResultStream (separate from athena:GetQueryResults). The 4.x drivers also call athena:GetWorkGroup. Queries read Glue and S3 with the caller's own credentials, so the caller needs glue:GetTable, glue:GetPartitions for partitioned Hive tables, glue:GetCatalog for Iceberg, the S3 reads, and kms:Decrypt on SSE-KMS keys.
  • Exporting. UNLOAD is gone; use COPY (SELECT ...) TO 's3://bucket/path/file.parquet' (FORMAT parquet) or CTAS.

When to try Athena DuckDB, and when to wait

Try it now if most of your Athena traffic is many small-to-medium SELECTs over Parquet or Iceberg: dashboards, API-backed reporting, AI agents exploring a catalog. The billing model rewards short queries, and the local extension is a better dev loop than the console.

Wait if you depend on Lake Formation permissions, federated queries, cross-account catalogs, Iceberg maintenance, Delta or Hudi tables, or a hard BytesScannedCutoffPerQuery limit. Also wait for production if you cannot tolerate preview semantics; AWS can change any of the limits above before general availability.

A sensible two-week plan: pick ten real queries from your engine v3 history, translate them (by hand or with the migration agent), run each five times on a capped DuckDB workgroup, record DpuConsumedInMillis and wall time, and compare against the DataScannedInBytes cost of the same queries on engine v3. Diff the result values, not just row counts. Then decide per workload, not per account.

If you are deciding between running DuckDB locally and Polars for the laptop half of this workflow, see our Polars vs DuckDB comparison. For table-format choices that affect what DuckDB can read in the preview, read Iceberg vs Delta Lake vs Hudi; Delta and Hudi are both unsupported here. And if your transformations live in dbt or SQLMesh, SQLMesh vs dbt covers how dialect changes ripple through a project.

Frequently Asked Questions

Is Athena DuckDB free during the preview?

No. The pricing page lists a per-DPU-hour rate for the DuckDB engine (Preview), billed per millisecond with a 100 ms minimum, and its examples use $0.35 per DPU-hour. You also pay normal S3, Glue, KMS and CloudWatch charges. Results stored in managed query results are not charged for storage or reads.

Can I run my existing Athena SQL on DuckDB unchanged?

Some of it. Standard SQL often runs as is, but Trino-specific functions such as date_format and approx_distinct fail, and several expressions (integer division, regexp_replace, concat with NULL, date_diff) return different results without an error. Use the migration agent or the AWS SQL differences page, and compare result values on both engines.

Does Athena DuckDB support Apache Iceberg?

Yes, including Iceberg format v3 tables and Amazon S3 Tables, reads and writes, and time travel by snapshot ID or timestamp. The preview does not support branch or tag reads, Iceberg views, copy-on-write writes, writes to v1 tables, or maintenance procedures such as compaction and snapshot expiry; run those from an engine v3 workgroup on the same catalog.

How is Athena DuckDB different from running DuckDB on Lambda or EC2?

Athena manages the compute, reads the Glue Data Catalog with your IAM credentials, and can distribute one eligible query across several 4-DPU workers. DuckDB on Lambda or EC2 is one process on one machine, and you manage memory limits, credentials and catalog access yourself. Self-hosted DuckDB also has none of Athena's preview limitations.

Which Regions support Athena powered by DuckDB?

US East (N. Virginia), US East (Ohio), US West (Oregon), Europe (Ireland) and Asia Pacific (Tokyo), as of December 2026. The largest single-query size is 124 DPUs in N. Virginia, Oregon and Ireland, and 60 DPUs in Ohio and Tokyo. S3 data must be in the same Region as the workgroup.

Bottom Line

Athena DuckDB is the most interesting change to Athena's economics since the service launched: pay for compute time instead of bytes scanned, with a SQL dialect many engineers already prefer. The preview is good enough to benchmark seriously and to adopt for read-heavy Parquet and Iceberg workloads in a separate workgroup. It is not ready to replace engine v3 wholesale, because of the silent SQL differences, the missing Lake Formation support and the unenforced scan cutoff. Cap DPUs, measure DpuConsumedInMillis, diff your results, and keep engine v3 around for everything the preview cannot do yet.