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

Report an error
QuestionBack to list