Sep 12, 2022
Hi Jay, Idea / Need for renaming arise due to the fact that Airflow does not support versioning. So in case you have modified anything in the DAG, then that is not recorded and we might loose that. If you rename the older dag still exists in the db and you can revert back to that.
There are multiple ways to track dag changes.. One way will be to treat DAG files along with ETL as deployable and create RPM out of that. Or if airflow is deployed on docker/k8s bake that dags in image itself. Keep track of image versions.