You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/02 14:22:35 UTC

[GitHub] [airflow] nathadfield opened a new issue #14563: TaskGroup Sensor

nathadfield opened a new issue #14563:
URL: https://github.com/apache/airflow/issues/14563


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the following questions.
   Don't worry if they're not all applicable; just try to include what you can :-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   **Description**
   
   Enable the ability for a task in a DAG to wait upon the successful completion of an entire TaskGroup.
   
   **Use case / motivation**
   
   TaskGroups provide a great mechanism for authoring DAGs, however there are situations where it might be necessary for a task in an external DAG to wait upon the the completion of the TaskGroup as a whole.
   
   At the moment this is only possible with one of the following workarounds:
   
   1. Add an external task sensor for each task in the group.
   2. Add a Dummy task after the TaskGroup which the external task sensor waits on.
   
   I would envisage either adapting `ExternalTaskSensor` to also work with TaskGroups or creating a new `ExternalTaskGroupSensor`.
   
   **Are you willing to submit a PR?**
   
   Time permitting, yes!
   
   **Related Issues**
   
   <!-- Is there currently another issue associated with this? -->
   


----------------------------------------------------------------
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:
users@infra.apache.org