Description
Similar to #66839
Databricks query tags help with cost attribution and track back the origin of Databricks queries. The link issue added query tags in DatabricksSqlOperator, DatabricksCopyIntoOperator, however, there are other operators that send queries directly to Databricks and can be instrumented with query tags, that is,
Use case/motivation
Query tags helps to track the origin of Databricks queries, and can be used for cost attribution and etc
Related issues
#66839
Are you willing to submit a PR?
Code of Conduct
Description
Similar to #66839
Databricks query tags help with cost attribution and track back the origin of Databricks queries. The link issue added query tags in DatabricksSqlOperator, DatabricksCopyIntoOperator, however, there are other operators that send queries directly to Databricks and can be instrumented with query tags, that is,
DatabricksHook.post_sql_statementto send queries): https://github.com/SkastVnT/airflow/blob/ee12bab9132e0a29766e30f5cdd75cf796a53e6f/providers/databricks/src/airflow/providers/databricks/sensors/databricks.pyUse case/motivation
Query tags helps to track the origin of Databricks queries, and can be used for cost attribution and etc
Related issues
#66839
Are you willing to submit a PR?
Code of Conduct