sann05 opened a new issue, #28985:
URL: https://github.com/apache/airflow/issues/28985

   ### Description
   
   I know that the DAG's id is added in the python script, but I have had this 
intention so many times.
   
   I have to have the ability to change DAG's id without losing all history. 
   
   Let's say it should work like that:
   Whenever you change `dag_id` in the dag property, you'll have to add 
`prev_dag_id` if you want it will be renamed
   If the `prev_dag_id` property is added, but there is no dag with such 
`dag_id`, no error is raised. A new dag has to be created
   
   ### Use case/motivation
   
   I am a person who likes to keep their DAGs well-named and organized.
   But sometimes I create some DAG thinking that it will rely upon some data 
source, say "DOWNLOAD.data_source.entity1".
   But then, after I added 20 other DAGs, I realized that the best name for a 
DAG would be "DOWNLOAD.data_source_type.entity1".
   
   You would say that It's better to call your dags like "DOWNLOAD.entity1" and 
add tags, so I can change tags whenever I want. But what If I have 5 of the 
same entities I download from different data sources?
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to