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
Related questions
You are designing a data lake ingest pattern where upstream producers occasionally re-send the same record with late-arriving timestamps. Which approach best supports deduplication and correct late data handling in downstream analytics?
View question →
You need to query large historical logs in Amazon Athena with frequent time-range filters, but your partitions are inconsistent (some days are missing). Which approach most likely improves performance without requiring full table repair every day?
View question →
In a Lake Formation (LF) environment, which practice best controls access to sensitive columns in a shared dataset while allowing analysts to query non-sensitive columns?
View question →
A pipeline uses AWS DMS to migrate from a transactional source to S3 as an event stream, then loads into DynamoDB for serving. Which capability is most appropriate to guarantee eventual ordering for updates to the same entity?
View question →
You must implement near-real-time analytics with exactly-once effect for aggregates stored in a relational system, but the source is an at-least-once stream. Which design most directly achieves exactly-once effect?
View question →
A Glue job reads from S3 and writes Parquet to an Iceberg table. If schema evolution occurs (a new nullable column is added), which statement is most accurate for maintaining query compatibility and avoiding write failures?
View question →