yuqian90 commented on issue #6392: [AIRFLOW-5648] Add ClearTaskOperator for 
clearing tasks in a DAG
URL: https://github.com/apache/airflow/pull/6392#issuecomment-548270725
 
 
   Hoping to get some reviews here from committers. @kaxil @bolkedebruin any 
interest?
   
   The rationale:
   In an ideal world, we should not need `ClearTaskOperator` because all 
workflows should be **directed** and **acyclic** so we never have to rereun 
tasks that already completed. But in the real world, some workflows have 
portions that are cyclic. We sometimes need to revisit tasks that already 
completed earlier. 
   
   With `ClearTaskOperator`, we can model such workflows easily without making 
any changes to the core of Airflow or forcing users to revamp their workflow 
completely. It is in the same spirit as `ExternalTaskSensor` and 
`TriggerDagRunOperator` where a task is allowed to examine or control the state 
of other tasks.

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


With regards,
Apache Git Services

Reply via email to