airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abdul Nimeri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-2777) dag.sub_dag(...) speedups
Date Fri, 20 Jul 2018 23:10:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551422#comment-16551422
] 

Abdul Nimeri commented on AIRFLOW-2777:
---------------------------------------

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

Mime
View raw message