SkastVnT commented on PR #66895: URL: https://github.com/apache/airflow/pull/66895#issuecomment-4447573641
**Additional validation — query tags are visible in Databricks `system.query.history`** I re-ran the Databricks query tags test DAG with the updated implementation and verified that the Airflow context tags are now written to Databricks query history. The query below returns rows from `system.query.history` where `query_tags` contains the expected Airflow DAG metadata: - `airflow_dag_id` - `airflow_task_id` - `airflow_run_id` - `airflow_try_number` - custom tags such as `pipeline` and `step` The result shows tagged queries from `setup_table`, `tagged_select`, and `insert_more_rows`, confirming that session-level query tags are propagated correctly to Databricks query history. <img width="1794" height="857" alt="Databricks system.query.history query tags validation" src="https://github.com/user-attachments/assets/87e2505f-9b2e-4ece-9769-f2585f363a2f" /> The Airflow DAG run was triggered successfully, and the tagged Databricks SQL tasks executed successfully end-to-end. <img width="1763" height="844" alt="Airflow Databricks query tags test DAG run" src="https://github.com/user-attachments/assets/5f21680b-0d02-49fe-aa93-4f0f6438f04d" /> -- 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]
