Restarting and Retrying dbt Tasks in Airflow
Airflow can retry a failed dbt task automatically or restart selected tasks after a failure.
default_args = {
"retries": 2,
"retry_delay": timedelta(minutes=10),
}
Use task clearing to rerun a failed task and its downstream tasks when appropriate. Prefer targeted reruns after fixing the root cause instead of rerunning the entire DAG.