Ask Your Question
1

What is the meaning of the error "DAG is missing the start_date" when using a for loop to add tasks dynamically to an airflow DAG?

asked 2023-06-06 06:57:39 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-06-06 07:08:01 +0000

lakamha gravatar image

The error "DAG is missing the startdate" means that the DAG (Directed Acyclic Graph) object being created does not have a startdate attribute specified. The startdate attribute is a required parameter that determines the date and time when the DAG is first run. When using a for loop to add tasks dynamically to a DAG, each task must specify a startdate relative to the DAG's startdate. Therefore, the DAG object must have a startdate specified in order for the tasks to be added correctly.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-06 06:57:39 +0000

Seen: 7 times

Last updated: Jun 06 '23