dynamic create task base on dag input #40717
Unanswered
zhiqiwangebay
asked this question in
General
Replies: 1 comment 4 replies
-
Yes. You need to use dynamic task mapping https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/dynamic-task-mapping.html. and have one single task to produce array of n elements that will be input to dynamicly mapped task (and it will create n tasks). |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following script creates 5 tasks, but I want to dynamically set the number of tasks based on the DAG input. is it possible?
Beta Was this translation helpful? Give feedback.
All reactions