GitHub user RipLiquid added a comment to the discussion: How should I handle 
corrections to older data in a daily Airflow DAG?

I’d use a rolling window if corrections usually arrive within a predictable 
number of days. If the source tells you which older dates changed, reprocess 
just those partitions. For a one-off correction to Friday outside the window, 
use a targeted backfill. To make retries safe, replace the affected partition 
when you have a complete snapshot for that day. If the source only sends 
changed rows, upsert by a stable collision ID so rerunning the task doesn’t 
create duplicates. Look at this docsmentation 
https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/backfill.html

GitHub link: 
https://github.com/apache/airflow/discussions/77749#discussioncomment-20010669

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to