What problem does it solve? Re-runs from retries, backfills, and operator mistakes silently duplicate or skip data when pipelines use blind appends, wall-clock windows, or non-atomic watermarks. This Skill turns any scheduled pipeline into one where the same logical input always produces the same output state. ## Core Features & Use Cases - Safe Write Patterns: Choose between overwrite-by-partition (INSERT OVERWRITE, Delta replaceWhere) and keyed merge/upsert with deterministic tie-breaks, replacing unsafe blind appends. - Watermark & Backfill Design: Track high-water marks transactionally with the load, apply late-arrival lag, and run backfills through the same code path as daily jobs with reconciliation checks. - Side-Effect Safety: Make emails, webhooks, and counters idempotent via idempotency keys or sent-logs, and prove correctness with a double-run test in CI. - Use Case: An Airflow retry storm re-ran six hours of revenue tasks and double-counted 3.2% of revenue. Rebuild the job to read all source rows for the logical date, write via INSERT OVERWRITE PARTITION, and add a duplicate-rate tripwire. ## Quick Start Review my scheduled pipeline and make it safe to re-run and backfill without duplicating data.