A streaming job reads from Kafka and writes to S3 in hourly folders. Downstream Athena queries sometimes miss late-arriving events even though the partition for the hour exists. What is the most likely underlying issue?
Answer
The streaming job uses a watermark/trigger that finalizes the hour early and stops accepting late records
Explanation
Window finalization based on watermarks can prevent late events from being included once the window is closed. Even if files appear later, the processing semantics may have already emitted incomplete results.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
In a pipeline that writes Parquet to S3 and reads it with Spark on EMR/Glue, you discover that timestamps are off by several hours for some partitions. Which root cause is most plausible given typical AWS defaults?
View question →
You need to run Athena queries over extremely large partition counts (tens of millions of partitions) created from raw S3 paths. The goal is to reduce planning overhead while keeping query correctness. Which tactic is most effective?
View question →
A company uses AWS Glue Data Catalog as the source of truth. Data is updated using Iceberg tables on S3. Which practice most directly supports reliable schema evolution across ingestion and downstream Athena queries?
View question →
A Glue job reads from S3 and writes to a partitioned dataset. You must make the job idempotent across retries where some partitions may already exist, and you also must avoid duplicate rows. Which combination is most appropriate?
View question →
A dataset is stored as nested JSON in S3. You plan to query it in Athena and also maintain a curated analytics table in a warehouse later. Which approach best minimizes schema drift while preserving query performance?
View question →
You are using Kinesis Data Streams to ingest clickstream events into an S3 data lake via a consumer app. To ensure ordered processing per user and to handle replays without producing duplicates, which design is most appropriate?
View question →