AlexBogs commented on issue #17010:
URL: https://github.com/apache/airflow/issues/17010#issuecomment-931276931


   It'd be nice to be able to have custom trigger rule.
   I personally need 'all done and none upstream_failed'  rule after an 
'optional' task. If 'optional' task fails by itself then downstream tasks 
should proceed, but if it has upstream_failed then downstream tasks should have 
upstream_failed status too.
   
   It's possible to make desired behavior by adding 2 dummy tasks: 1 downstream 
from the 'optional' task with the 'all_done' rule, and another one afterwards 
with 'all_success' rule and the 'optional' task parents included too, but it 
will make already bloated DAG even bigger.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to