Airflow expand functionality in DatabricksSubmitRunOperator #27050
Replies: 1 comment 7 replies
-
You should look at exisitng examples in https://airflow.apache.org/docs/apache-airflow/stable/concepts/dynamic-task-mapping.html?highlight=expand#assigning-multiple-parameters-to-a-non-taskflow-operator and apply it to the operator you want to use. Airlfow has > 3000 operators and it is quite unwise to expect specific examples for single feature for a specific operator. Also read the Dynamic Tasks mapping docs to understand how it works - each of the dynamic tasks runs as separate task, so depending on your tasks run in parallel but they might run either sequentially if you wish by using pools, queues and other mechanisms available. Just treat dynamic tasks as if you had all the dyamic tasks defined individually in your DAG. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I'm trying to implement Airflow expand functionality in DatabricksSubmitRunOperator.
If you, please provide me with examples of how it is done in DatabricksSubmitRunOperator?
Also, by using expand function, the tasks will be in parallel execution or sequential.
Regards,
Nikhil
Beta Was this translation helpful? Give feedback.
All reactions