Introduction
In Airflow, tasks run on schedules, and each run has two important dates: the execution date and the logical date. These dates help track when a task is supposed to run versus when it actually runs, which can be confusing at first.
When you want to understand why a task run is labeled with a date that seems earlier than the current time.
When you need to debug why data processed in a task corresponds to a previous day or period.
When scheduling daily reports that should process data from the previous day.
When setting up dependencies between tasks that rely on specific data intervals.
When monitoring backfills or reruns of past scheduled tasks.