Hi All, I have a query related to Airflow DAG schedule_interval and hoping i am posting in right place . Please accept my apologies if not and would be helpful if you can point me in right direction .
I am using Airflow 1.10.10 and wanted to know how to change a Airflow DAG schedule . I checked online and in most of the comments its suggested that to change schedule of a DAG, create a new DAG with new dag_id, or change dag_id of existing DAG and give new schedule_interval . Attempt to change schedule of a existing DAG will not work in straight forward manner and will throw error or might create scheduling error. However I tried to test this so that I can create the scenario where my DAG schedule change leads to erroneous cases . This I tried by only change schedule_interval in DAG file. I tried below change of schedule in my DAG and all worked as expected. Schedule was changed properly and no erroneous case was found . - Started with @Daily - Changed to 10 min - Changed to 17 min - Changed to 15 min - Changed to 5 min Can anyone please clarify what kind of problem may arise if we change the schedule_interval in a DAG without changing ID. PS: I cannot use any other Airflow version and using catchup=False in my DAG. Regards, Avneesh Atri