Amazon Athena powered by DuckDB: one query, two engines One workgroup, one table, the same SQL on engine version 3 and on DuckDB; everything is deleted at the end. AWS Cloud Region us-east-1 Amazon Athena engines Presenter quickstart.py Athena workgroup field-kit-athena-duckdb engine version 3, 1 GB scan limit Engine version 3 Trino SQL, per TB scanned DuckDB (preview) DuckDB SQL, per DPU-hour AWS Glue Data Catalog database and table orders Amazon S3 bucket Parquet data query results 1 2 3 4 1 2 3 4 LINES Queries on the workgroup's engine Same query with EngineVersion = DuckDB Table lookup and data read FLOW The script creates the bucket, a Glue database and the workgroup, then starts queries. Engine version 3 builds a 10 million row Parquet table (CTAS) and runs the test query. The same SQL runs on DuckDB through a per-query engine override, capped at 4 DPU. Both engines read the same table. The script compares rows, time and cost.