Amazon Athena Now Scales DuckDB Queries in the Cloud

TL;DR
Amazon Athena now offers a public DuckDB preview that lets developers use the same SQL dialect on a laptop and in an AWS workgroup. DuckDB Scales can spread one query across multiple workers. Teams using AWS Lake Formation need to check their table locations before testing. AWS launch notice · Preview limitations
Read time: 4 min
Amazon Athena brings DuckDB SQL to a managed workgroup
AWS announced the Amazon Athena DuckDB public preview at re:Invent on December 1. The new engine runs analytical SQL over data in Amazon S3 and uses the AWS Glue Data Catalog for table definitions. It can use one worker for a small job or distribute heavier work when the query calls for it. AWS handles worker allocation. Launch notice · Athena user guide
Start with the local workflow. The open-source Athena extension attaches a cloud workgroup to a DuckDB session on your laptop. A query on the attached tables runs in Athena and streams results back in Apache Arrow format. From there, you can join the result to a local file. Operations over local data use your own machine. In practice, that means you can pull an aggregate from a big table and compare it with a small spreadsheet export without uploading the local file. Athena extension guide
The distributed piece is DuckDB Scales. DuckLabs says Athena uses it to split larger queries across multiple servers, each running DuckDB, and merge the results. Athena decides whether to distribute execution. DuckLabs plans to release DuckDB Scales as open source in the first half of 2027, so track that separately from the already open-source client extension. DuckLabs release · Extension source and license
The workgroup is your migration boundary
Athena engine version 3, which uses Trino, remains available. Both engines can see tables in the same Glue catalog. For a trial, use a separate DuckDB workgroup and run the same reporting job in both. Check that joins, data types and results line up before switching a scheduled job. AWS documents differences in supported statements, as well as a behavior that matters to scripts. A request can succeed at submission even when the SQL is invalid. Check the execution status before treating it as a success. DuckLabs on Athena’s engines · Documented limits and API behavior
Why the Amazon Athena DuckDB preview matters
The tricky part is permissions. During the preview, a query fails if the table’s S3 location is registered with Lake Formation, even when the caller has access to the entire table. Keep those jobs on a compatible workgroup and pick an eligible dataset for the trial. The new engine supports Apache Iceberg v3 tables, but table format and permission support are separate checks. Glue catalog users can also read our coverage of column-level lineage in AWS Glue. Iceberg v3 support · Lake Formation limitations
The other change is cost control. AWS measures DuckDB compute in Data Processing Units, or DPUs. Its documentation says an existing bytes-scanned cutoff is unenforced for this engine. Set a maximum DPU count in the workgroup before sending a batch of exploratory queries through it. Check actual usage per query in the API. A change in how capacity is metered matters as much as a change in query speed when you set a budget. AWS cost controls
- Benchmark your own mix. AWS reports up to twice the speed and up to 50% lower costs for large datasets versus Athena version 3. Treat those as vendor results. Compare a selective lookup, a join, and a full aggregation on your own data, measuring both time and cost. AWS performance claims
- Confirm that your region is supported. The five preview regions are Northern Virginia, Ohio, Oregon, Ireland, and Tokyo. Preview regions
- Check the client path. AWS lists console, CLI, SDK, and JDBC, ODBC and ADBC drivers, in addition to the local extension. Test the one your reporting jobs actually use. Supported clients
Key Takeaways
- Start the Amazon Athena DuckDB pilot in its own workgroup and keep a version 3 baseline.
- Verify Lake Formation registration before choosing which tables to test.
- Benchmark on your own data and set workgroup DPU limits before opening the pilot to automated callers.
- Use the local extension to prototype SQL and pull remote results into local analysis.
FAQ
Is Amazon Athena powered by DuckDB generally available?
AWS launched it as a public preview in five regions on December 1, 2026. You can create a DuckDB workgroup alongside an existing Athena version 3 workgroup. The preview excludes tables whose Amazon S3 locations are registered with AWS Lake Formation. AWS release · Preview limitations
Can local DuckDB queries run on Amazon Athena?
The open-source Athena extension lets a local DuckDB session attach an Athena workgroup. Queries against attached Athena tables run on AWS, with results returned in Apache Arrow format. You can then join those results to local files. Operations over local data use your machine’s resources. Extension guide
Sources
AI-Generated Content Notice
This article was produced with AI assistance. While we strive for accuracy, AI-generated content may contain errors, outdated information, or unintentional bias. We cannot guarantee the completeness or accuracy of all information presented.
Last updated: December 2, 2026
Not Professional Advice
Investment Disclaimer: This content is for informational and educational purposes only and does not constitute investment, financial, legal, or professional advice. Do not make any investment decisions based solely on information from this article. Always consult with qualified financial advisors and conduct your own research before making investment decisions.
No Warranties: We make no representations or warranties about the accuracy, reliability, completeness, or timeliness of this content. Market conditions change rapidly, and information may become outdated quickly.
Source Verification: While we cite sources and attempt to verify information, we cannot guarantee that all third-party sources are accurate or unbiased. Sources are selected algorithmically and may not represent all relevant perspectives.
Found an error or inaccuracy? Report it here and we'll review it promptly.


