[ 
https://issues.apache.org/jira/browse/AIRFLOW-4232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16811500#comment-16811500
 ] 

ASF GitHub Bot commented on AIRFLOW-4232:
-----------------------------------------

ashb commented on pull request #5032: [AIRFLOW-4232] Add `none_skipped` trigger 
rule
URL: https://github.com/apache/airflow/pull/5032
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Add a "none_skipped" trigger rule
> ---------------------------------
>
>                 Key: AIRFLOW-4232
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4232
>             Project: Apache Airflow
>          Issue Type: New Feature
>            Reporter: al
>            Assignee: al
>            Priority: Trivial
>              Labels: triggers
>             Fix For: 1.10.3
>
>
> Add a "none_skipped" trigger rule so that downstream tasks will only run if 
> _all_ theirĀ upstream tasksĀ have succeeded or failed.
> Example:
>  * Task 1 is a transform task that creates a temp table.
>  * Task 2 is a cleanup task that drops the temp table.
> Task 1 >> Task 2
> If Task 1 succeeds or fails, Task 2 should drop the temp table as cleanup. 
> However if the task never runs, we should just skip it.
> Or perhaps Task 2 is a logging task that only logs successes and failures, 
> but doesn't log skips to cut down on noise.



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

Reply via email to