SpinTheMic
Pro

Explain it in 60 seconds

Setup and teardown tasks

Data Engineering · Airflow · Intermediate

What are setup and teardown tasks in Airflow?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Mark tasks that create and clean up resources.
  • Teardown runs even if work tasks fail.
  • Example: create a cluster, run jobs, delete the cluster.
  • Teardown failure doesn't fail the DAG run by default.
  • Clearing a work task also reruns its setup.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics