In an AWS Glue ETL job that writes partitioned Parquet to S3, which action best reduces small-file proliferation while still enabling efficient Athena queries?

Answer

Coalesce to a larger number of rows per output file, then write to a partitioned S3 path using a single job commit per batch

Explanation

Coalescing before writing reduces the count of output files, which improves listing and scan efficiency. Writing to a stable partition layout preserves Athena pruning benefits while controlling commit granularity.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list