A Glue job writes partitioned Parquet to S3. You observe that query results in Athena are inconsistent across repeated runs for the same time range. What is the most likely cause and mitigation?

Answer

Late-arriving files are created after the partition is first discovered; ensure partitions are registered after job completion or use Iceberg/Hive-style atomic table commits

Explanation

If partitions become visible before all files land, Athena can read partial data for that range. Atomic table commits (Iceberg) or partition registration only after full write prevents this.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list