ExitAWS Glue vs Amazon Athena: ETL and SQL query boundaries1 / 9
Explanation

Separate execution from metadata

How to distinguish Glue data preparation from Athena query execution when choosing where analytics processing belongs. · advanced

AWS Glue jobs execute data preparation programs: they read sources, apply transformations, and write outputs. The Glue Data Catalog is a different capability: it stores table definitions, locations, and other technical metadata. Using catalog metadata does not mean that a Glue ETL job executes.

Amazon Athena SQL executes SQL against data, including files in Amazon S3 described by catalog tables. The boundary is not “Glue transforms; Athena only reads”: Athena can also persist SQL transformations using CTAS and INSERT INTO. Glue jobs can themselves use SQL within a larger processing program.

Choose the execution model, not the presence of a transformation. This lesson concerns Athena SQL, not Athena's separate Spark capability. Amazon Redshift is a warehouse query platform rather than Athena's independent query service; AWS Lake Formation provides governance rather than an ETL or SQL execution engine.

BoundaryGlue jobAthena SQL
Execution unitPreparation programSQL statement
Transformation expressionCode and SQLSupported SQL
Persistent outputJob writes datasetsSQL can write datasets
Catalog relationshipCan use metadataUses table metadata

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.