gdavoian opened a new issue, #28382:
URL: https://github.com/apache/airflow/issues/28382

   ### Description
   
   The trigger rule was requested in 
https://github.com/apache/airflow/issues/17010, but 
`none_failed_min_one_success` was proposed as a solution.
   
   I find the proposed solution unsatisfactory since 
`none_failed_min_one_success` isn't the same as `all_done_min_one_success` (the 
latter rule allows some upstream tasks to fail as soon as at least one of them 
succeeds).
   
   I can try working on a PR if the feature is approved.
   
   ### Use case/motivation
   
   I have a few data ingestion tasks (from an external data source to the 
internal data lake) and a data loading task (from the data lake to the data 
warehouse). I want the data loading task to be triggered if at least one of the 
data ingestion tasks succeeds. Obviously, if all the data ingestion tasks fail, 
then there is no point in triggering the data loading task. But if at least one 
of them succeeds, then in my particular case it's better to load the ingested 
data (and figure out why the other tasks failed later) rather than not loading 
anything at all.
   
   ### Related issues
   
   https://github.com/apache/airflow/issues/17010
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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