malthe commented on pull request #19361:
URL: https://github.com/apache/airflow/pull/19361#issuecomment-969094410


   @potiuk thanks for the detailed thoughts and comments.
   
   I think the behavior of the `ShortCircuitOperator` is better than the 
branching operator in that it works with statically defined dependencies, e.g. 
"if not Sunday, skip".
   
   Also [compare the 
ergonomics](https://stackoverflow.com/questions/67666968/can-we-configure-different-schedule-interval-for-different-tasks-within-a-dag)
 between the short-circuit operator and 
[BranchDayOfWeekOperator](https://airflow.apache.org/docs/apache-airflow/stable/howto/operator/weekday.html),
 the latter having in my opinion a rather awkward interface.
   
   I think you make some good points and a benefit is that the _skip reason_ is 
very obvious (when an operator is used to check the execution time).


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