简体   繁体   中英

airflow backfilling dag run dependancy

When i backfill a dag for specific dates, i want to run it by sequentially, ie i want it to be run day by day

completing all the tasks for the specific day and then next day so on.. I have used the depends_on_past argument, but it is only helping me to set the dependency on tasks not in dag runs.

example :- Dag_A have 4 tasks , i use back fill with depends_on_past, After executing first task in Dag_A (first day) it triggers first task of Dag_A (second day), I dont want it

There is an option to set maximum number of runs per dag in the global airflow.cfg file. The parameter to set is max_active_runs_per_dag.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM