You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2019/01/19 16:09:00 UTC

[jira] [Updated] (AIRFLOW-3336) Add ability for "skipped" state to be considered success

     [ https://issues.apache.org/jira/browse/AIRFLOW-3336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaxil Naik updated AIRFLOW-3336:
--------------------------------
    Fix Version/s:     (was: 2.0.0)
                   1.10.2

> Add ability for "skipped" state to be considered success
> --------------------------------------------------------
>
>                 Key: AIRFLOW-3336
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3336
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: DAG
>            Reporter: Ryan Nowacoski
>            Assignee: Ryan Nowacoski
>            Priority: Trivial
>              Labels: beginner, usability
>             Fix For: 1.10.2
>
>
> Take the case where a task has 2 or more upstream parents and 1 or more of them can skipped. If TriggerRule ALL_DONE is used then the task will trigger even when upstream tasks fail. However if TriggerRule ALL_SUCCESS is used the task won't be triggered if any upstream are skipped. This creates a gap in functionality where it is necessary for "skipped" to be treated as "success" so that the task only runs if all parents succeed or are skipped. Said another way this allows tasks to be run if all ancestors do NOT fail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)