🗓️Airflow Task
Also known as Task Instance, Airflow Task Instance
One step in an Airflow DAG. It runs once in each DAG run.
Think of it like
It is one job on a chore chart, like feeding the cat. Each day it gets its own tick.
Example
In yesterday's run, the load task failed. Jack clears just that task instance, and only it runs again.
Why it matters
Tasks are the size at which Airflow retries, logs and reruns work. Small, clear tasks make failures easy to find and fix.
Definition
Common mistake
Key takeaways
- 1One step. A single unit of work in a DAG.
- 2An instance per run. Each run gets its own copy and state.
- 3Rerun alone. Clear one instance to repeat one step.