You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by Robin Edwards <ro...@bidnamic.com> on 2019/04/26 17:17:29 UTC
Handling look back periods in data sources
I was wondering if anyone has a pattern for handling look back periods
when ingesting data. One of our sources attributes cost up to 90 days
in arrears. So currently I am ingesting @daily but re-writing the last
90 days with depends_on_past=True on my operator. This feels wrong as
I am effecting data outside of my schedule interval.
It also makes backfilling slow as I have to ingest more data than is
required. I could make my operator smarter and only re-write for the
latest run. But maybe there is a cleaner solution to this?
Thanks for your help,
Rob