Query Tags: The Context Your Warehouse Queries Have Been Missing

Query Tags: The Context Your Warehouse Queries Have Been Missing

Query Tags: The Context Your Warehouse Queries Have Been Missing

Original URL: https://www.databricks.com/blog/query-tags-context-your-warehouse-queries-have-been-missing

Article Written: October 1, 2023

Added: June 14, 2026

Type: product

Summary

The article introduces Query Tags, a new feature in Databricks that allows users to attach custom metadata to SQL executions, providing essential context for monitoring and troubleshooting queries. This feature enhances visibility into query performance by enabling users to attribute costs and trace queries back to their sources, especially when using partner tools like dbt, Power BI, and Tableau. Query Tags can be applied automatically or manually, making it easier for teams to manage workloads and analyze performance. The article emphasizes the importance of tagging queries to improve operational efficiency and cost management.

💭 Your Thoughts

"When costs spike, you can see which users ran queries, but not which cost center or project to charge." Actually we were facing this problem with BigQuery.

Technologies Referenced