โ09-18-2024 08:12 AM
How can I find the saved/pre-defined queries in Databricks system tables?
system.query.history seems NOT having the info, like query-id or query-name
โ12-04-2024 05:56 AM
Hi Bryan, Databricks system tables do not store saved queries. Query history table captures the query execution details, including:
โ12-04-2024 06:34 AM
How can we retrieve the information from the "query history table" and present it in our own dashboard/widget?
โ12-04-2024 07:47 AM
Hi Bryan, Depending on the information you want to retrieve, you can write queries and showcase that in a dashboard. Please see these links for sample query and dashboard.
โ12-04-2024 08:39 AM
That did not address the requirement to show the saved/pre-defined queries in our own dashboard, while the saved/pre-defined queries cannot be identified from system.query.history
โ12-04-2024 09:00 AM
Hi Bryan, As I mentioned in the previous thread, query history doesn't store saved query information. There is no out of the box feature which can showcase saved query in the dashboard. For accessing saved query you can follow these methods.
Please see this link https://learn.microsoft.com/en-us/azure/databricks/sql/user/queries/
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now