0
0
Apache Airflowdevops~5 mins

Catchup and backfill behavior in Apache Airflow - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does 'catchup' mean in Airflow?
Catchup means Airflow runs all the missed scheduled tasks from the past until the current date when the scheduler starts or DAG is enabled.
Click to reveal answer
beginner
How do you disable catchup in an Airflow DAG?
Set the parameter catchup=False in the DAG definition to prevent Airflow from running past missed tasks.
Click to reveal answer
beginner
What is backfill in Airflow?
Backfill is a manual command to run tasks for a specific past date range, useful for filling missing data or rerunning tasks.
Click to reveal answer
intermediate
What happens if catchup is enabled and the DAG was paused for several days?
Airflow will run all the missed DAG runs for each scheduled interval from the last run date until now, catching up on all missed work.
Click to reveal answer
intermediate
How does backfill differ from catchup in Airflow?
Catchup runs missed DAG runs automatically on scheduler start or DAG enable, while backfill is a manual command to run DAG runs for specific past dates.
Click to reveal answer
What does setting catchup=False do in an Airflow DAG?
APrevents running missed past DAG runs automatically
BRuns all past DAG runs immediately
CDisables the DAG permanently
DRuns the DAG only once
Which Airflow feature lets you manually run tasks for past dates?
ACatchup
BTrigger Rule
CScheduler
DBackfill
If a DAG was paused for a week and catchup is enabled, what happens when it is unpaused?
AOnly today's tasks run
BAll missed DAG runs for the week run automatically
CNo tasks run until next schedule
DThe DAG is deleted
Which parameter controls catchup behavior in an Airflow DAG?
Acatchup
Bschedule_interval
Cstart_date
Ddepends_on_past
What is the main difference between catchup and backfill?
ACatchup is manual, backfill is automatic
BCatchup runs future tasks, backfill runs past tasks
CCatchup runs missed tasks automatically, backfill runs tasks manually for past dates
DThey are the same
Explain what catchup means in Airflow and how to control it.
Think about what happens when Airflow starts after missing scheduled runs.
You got /4 concepts.
    Describe the backfill command in Airflow and when you would use it.
    Consider how to run tasks for specific past dates on demand.
    You got /4 concepts.