concept

Athena queries and partition pruning

Use a compatible partition predicate and selected columns; inspect actual Athena bytes scanned.

Formal Syntax & Structure

aws syntaxaws
SELECT SUM(cents) FROM sales WHERE sale_date = ...

Working Example

Example Snippetaws
SELECT SUM(cents) FROM sales WHERE sale_date = '2026-01-01';
AWS Reference