dstandish opened a new pull request #15125:
URL: https://github.com/apache/airflow/pull/15125


   With this change we don't need to add a `LatestOnlyOperator` ensure that a 
task will skip in a backfill.
   
   Now, we can just set the parameter `latest_only=True`.
   
   We don't deprecate LatestOnlyOperator here -- its behavior is somewhat 
different because it skips downstream tasks irrespective of trigger rule (I 
_think_) while this lets any task skip _itself_, and downstream tasks may or 
may not also therefore skip depending on trigger rules.
   
   In most cases, though, this will save users from adding an extra task to 
dags.  IMHO, setting latest only behavior directly on the task itself is also 
more direct and more intuitive than setting it via a separate task.


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