[ https://issues.apache.org/jira/browse/AIRFLOW-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601286#comment-16601286 ]
Apache Spark commented on AIRFLOW-2777: --------------------------------------- User 'abdul-stripe' has created a pull request for this issue: https://github.com/apache/incubator-airflow/pull/3621 > dag.sub_dag(...) speedups > ------------------------- > > Key: AIRFLOW-2777 > URL: https://issues.apache.org/jira/browse/AIRFLOW-2777 > Project: Apache Airflow > Issue Type: Improvement > Reporter: Abdul Nimeri > Assignee: Abdul Nimeri > Priority: Minor > Fix For: 2.0.0 > > > dag.sub_dag(...) currently works by first deep copying the entire dag, and > then filtering down to the appropriate tasks. that can be slow since deep > copying a big dag takes a while. specifically, copying over all the tasks is > the bottleneck > this can be a lot faster by instead only copying over the filtered down tasks > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)