airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Anand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-377) Airflow does not warn if we create 2 dags with the same dag_id
Date Fri, 29 Jul 2016 04:02:20 GMT

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

Siddharth Anand commented on AIRFLOW-377:
-----------------------------------------

cc [~maxime.beauchemin@apache.org][~normster]

[~xuanji] Can you provide some more information here as well as what you expect to happen?

Are the 2 DAG in python files with the same name and at the same file path? In other words,
what makes them different dags if their IDs are not unique? Also, how would one know if they
are different versions of the same logical DAG (e.g. v1 vs v2 of DAG)? 

I use version suffixes to distinguish different versions of the same logical DAG -- for Example

my_foo_dag_v1 and my_foo_dag_v2.



> Airflow does not warn if we create 2 dags with the same dag_id
> --------------------------------------------------------------
>
>                 Key: AIRFLOW-377
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-377
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Li Xuanji
>            Assignee: Li Xuanji
>            Priority: Critical
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message