Airflow depends_on_past explanation

前端 未结 1 842
陌清茗
陌清茗 2021-01-11 16:15

According to the official Airflow docs, The task instances directly upstream from the task need to be in a success state. Also, if you have set de

相关标签:
1条回答
  • 2021-01-11 16:56

    From the official docs for trigger rules:

    depends_on_past (boolean) when set to True, keeps a task from getting triggered if the previous schedule for the task hasn’t succeeded.

    So unless a previous run of your DAG has failed, the depends_on_past should not be a factor, it will not affect the current run at all if the previous run executed the tasks successfully.

    0 讨论(0)
提交回复
热议问题