a-baturin opened a new issue, #45462: URL: https://github.com/apache/airflow/issues/45462
### Apache Airflow Provider(s) databricks ### Versions of Apache Airflow Providers apache-airflow-providers-databrick 6.9.0 ### Apache Airflow version 2.9.2 ### Operating System Amazon Linux 2023 ### Deployment Amazon (AWS) MWAA ### Deployment details _No response_ ### What happened Templates/macros defined in DatabricksNotebookOperator inside DatabricksWorkflowTaskGroup are passed to Notebook as template text, not as an expected value.  ### What you think should happen instead Resolution happens on task execution. But Databricks job is already created at that moment ### How to reproduce If you define notebook_params in DatabricksWorkflowTaskGroup templates will be resolved, if in DatabricksNotebookOperator inside DatabricksWorkflowTaskGroup - not resolved. In provided part of DAG (unrelated removed) param1 correctly passed to notebook, but param2 passed as `{{ ds }}` ```python with DatabricksWorkflowTaskGroup( ... notebook_params={"param1": "{{ ds }}"}, ) as tg: task1 = DatabricksNotebookOperator( ... notebook_params={"param2": "{{ ds }}"}, ) ``` ### Anything else _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
