Overview - Execution date vs logical date
What is it?
In Airflow, the execution date and logical date refer to the same concept: the timestamp that represents the scheduled time for a workflow run. It is not the time when the task actually runs, but the time Airflow assigns to identify the data interval or period the run is processing. This date helps Airflow organize and track runs consistently, especially for recurring jobs.
Why it matters
Without understanding execution or logical dates, users often confuse when a task runs versus what data it processes. This confusion can lead to errors in data pipelines, such as processing the wrong data or missing data intervals. Clear understanding ensures reliable scheduling, accurate data handling, and easier debugging.
Where it fits
Learners should first understand basic Airflow concepts like DAGs, tasks, and scheduling. After grasping execution/logical dates, they can learn about data intervals, backfills, and advanced scheduling features like sensors and triggers.