turbaszek commented on a change in pull request #12741:
URL: https://github.com/apache/airflow/pull/12741#discussion_r533589030
##########
File path: docs/apache-airflow/concepts.rst
##########
@@ -1022,6 +1023,28 @@ This animated gif shows the UI interactions. TaskGroups
are expanded or collapse
.. image:: img/task_group.gif
+While TaskGroups and SubDAGs are both used to create repeating patterns,
depending on your use case, one may be better
+than the other. The SubDagOperator launches a DAG as a separate entity from
the original graph. This design pattern
+offers flexibility to create SubDAGs with different schedulers and executors
at the cost of greater complexity and
+maintenance burden. TaskGroups creates a UI grouping concept on the same
original DAG which simplifies logic and
+maintenance for less flexibility.
Review comment:
How users can schedule SubDAGs using different scheduler or executor?
----------------------------------------------------------------
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]