The Pulse
AWS puts DuckDB in Athena preview for AI agent queries
Amazon Athena can now run queries using DuckDB in a preview available in selected AWS regions. AWS plans to extend DuckDB to EMR and Redshift and open-source the plugin that distributes larger Athena queries in 2027.

Amazon Athena users can now run queries with DuckDB in a preview designed in part for AI agents that make repeated requests for data. The preview brings the open-source analytical database to the serverless AWS query service, according to Amazon's announcement.
Source aboutamazon.com
AWS says queries run up to twice as fast as they do on Athena engine version 3. For queries of 100 gigabytes or more, the company claims costs are up to 50% lower.
Queries across servers
Athena customers can query data stored in Amazon S3 without setting up or maintaining a separate database or infrastructure. The company expects AI agents to use the service for exploratory work, running multiple queries and following up on the results before answering a question.
A new plugin called DuckDB Scales lets a query run across multiple servers. Everyday queries run on a single server; for larger jobs, Athena automatically distributes the work and combines the results. The company says the service can process tens of terabytes of data in seconds.
DuckDB Scales is in preview within Athena. AWS plans to open-source the plugin alongside Athena's general availability launch in 2027.
Connections for agents and applications
A separate open-source DuckDB extension for Athena lets users write SQL in a local DuckDB client and run queries on Athena. Users can also join the results with local data, according to the Athena release notes.
A new streaming API and an Arrow Database Connectivity driver let agents and applications receive results in Apache Arrow format as they arrive, without an additional conversion step. The preview also supports Apache Iceberg v3 tables, including Amazon S3 Tables.
Existing Athena engine version 3 workgroups continue to run and remain supported. Many standard SQL queries run unchanged on the DuckDB engine, but some statements, function names and data types differ between the two engines. A migration agent identifies queries that need changes, explains why and helps rewrite them in DuckDB's SQL dialect.
Preview limits and expansion plans
The preview is available in US East (N. Virginia), US East (Ohio), US West (Oregon), Europe (Ireland) and Asia Pacific (Tokyo). Customers can create a DuckDB workgroup or switch an existing one, then run queries through interfaces including the Athena console, the DuckDB extension and supported drivers.
AWS recommends keeping production workloads on Athena version 3 until general availability. The DuckDB preview does not yet support features including federated queries to external data sources, views and materialized views, user-defined and machine learning functions, or Apache Hudi, Delta Lake and ORC tables. Each query must be a single SQL statement.
AWS also plans to bring DuckDB to Amazon EMR alongside its existing tools. The company plans to build it directly into Amazon Redshift, with more services to follow throughout 2027.
DuckLabs, the team that created DuckDB, is now part of AWS and continues to lead the open-source project. AWS says a common DuckDB SQL language across its analytics services will let customers and their agents write a query once and run it where the job fits best.
Amazon on AI.info
- Company: Amazon — Amazon operates online and physical stores, sells consumer products and digital content, offers devices and subscription services, and provides cloud computing and technology services through Amazon Web Services (AWS).
Sources
- Original source About Amazon “AWS goes all in on DuckDB to power analytics for the agentic era” aboutamazon.com
Other pages read
- Amazon Web Services “Amazon Athena powered by DuckDB, now available in preview” aws.amazon.com
- Amazon Web Services “Release notes” docs.aws.amazon.com
- Amazon Web Services “Amazon Athena FAQs” aws.amazon.com
Companies in this story
Related stories
- AWS Greenlight enters preview to constrain AI agent actions
- AWS opens bug-finding AI project to limited preview
- AWS DevOps Agent adds a Fast agent that shows a preliminary root cause
- AWS makes Context generally available, with free graph creation for its data services
- Kiro opens shared agent workspaces for software teams