A lakehouse job produces daily aggregates but must guarantee that rerunning for a given date produces the same results even if some source files are rewritten. Which method best achieves this property?
Answer
Write aggregates with a deterministic target path per date and use overwrite with atomic table operations (e.g., Iceberg overwrite/merge semantics)
Explanation
Deterministic paths plus atomic overwrite/merge semantics makes reruns converge to the same final state despite upstream file rewrites.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
In a streaming pipeline, which design best preserves correctness when late-arriving events must be reconciled into partitioned targets?
View question →
You need to ensure exactly-once *effect* when consuming from Kinesis Data Streams into a target lake using Spark Structured Streaming. Which combination is most appropriate?
View question →
Which statement best describes why S3 partitioning alone is insufficient for complex governance requirements across multiple producers and consumers?
View question →
In AWS Glue jobs using Spark, you observe skewed partitions that cause one executor to process most records, leading to long tails. Which action most directly addresses skew while preserving correctness?
View question →
When modeling slowly changing dimensions in a lakehouse, which approach best supports historical analytics without duplicating facts incorrectly?
View question →
A team needs a governed Lakehouse on AWS where bronze/silver/gold tables are updated incrementally and must support schema evolution and time-travel style reads. Which capability combination is most appropriate?
View question →