<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Any Databricks system tables contain info of the saved/pre-defined queries in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100941#M2451</link>
    <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://medium.com/dbsql-sme-engineering/the-new-databricks-sql-warehouse-advisor-dashboard-a89771bbee3e" target="_blank"&gt;https://medium.com/dbsql-sme-engineering/the-new-databricks-sql-warehouse-advisor-dashboard-a89771bbee3e&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.databricks.com/t5/technical-blog/queries-for-cost-attribution-using-system-tables/ba-p/76558" target="_blank"&gt;https://community.databricks.com/t5/technical-blog/queries-for-cost-attribution-using-system-tables/ba-p/76558&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2024 15:47:11 GMT</pubDate>
    <dc:creator>tapash-db</dc:creator>
    <dc:date>2024-12-04T15:47:11Z</dc:date>
    <item>
      <title>Any Databricks system tables contain info of the saved/pre-defined queries</title>
      <link>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/90928#M1841</link>
      <description>&lt;P&gt;How can I find the saved/pre-defined queries in Databricks system tables?&lt;/P&gt;&lt;P&gt;system.query.history seems NOT having the info, like query-id or query-name&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 15:12:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/90928#M1841</guid>
      <dc:creator>BryanC</dc:creator>
      <dc:date>2024-09-18T15:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Any Databricks system tables contain info of the saved/pre-defined queries</title>
      <link>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100922#M2449</link>
      <description>&lt;P&gt;Hi Bryan, Databricks system tables do not store saved queries. Query history table captures the query execution details, &lt;SPAN&gt;including:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL class="marker:text-textOff list-disc pl-8"&gt;
&lt;LI&gt;&lt;SPAN&gt;Statement ID&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Execution status&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;User who ran the query&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Statement text (if not encrypted)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Statement type&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Execution duration&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Resource usage&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 04 Dec 2024 13:56:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100922#M2449</guid>
      <dc:creator>tapash-db</dc:creator>
      <dc:date>2024-12-04T13:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Any Databricks system tables contain info of the saved/pre-defined queries</title>
      <link>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100933#M2450</link>
      <description>&lt;P&gt;How can we retrieve the information from the "&lt;SPAN&gt;query history table" and present it in our own dashboard/widget?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 14:34:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100933#M2450</guid>
      <dc:creator>BryanC</dc:creator>
      <dc:date>2024-12-04T14:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Any Databricks system tables contain info of the saved/pre-defined queries</title>
      <link>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100941#M2451</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://medium.com/dbsql-sme-engineering/the-new-databricks-sql-warehouse-advisor-dashboard-a89771bbee3e" target="_blank"&gt;https://medium.com/dbsql-sme-engineering/the-new-databricks-sql-warehouse-advisor-dashboard-a89771bbee3e&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.databricks.com/t5/technical-blog/queries-for-cost-attribution-using-system-tables/ba-p/76558" target="_blank"&gt;https://community.databricks.com/t5/technical-blog/queries-for-cost-attribution-using-system-tables/ba-p/76558&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 15:47:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100941#M2451</guid>
      <dc:creator>tapash-db</dc:creator>
      <dc:date>2024-12-04T15:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Any Databricks system tables contain info of the saved/pre-defined queries</title>
      <link>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100944#M2452</link>
      <description>&lt;P&gt;That did not address the requirement to show the&amp;nbsp;saved/pre-defined queries&amp;nbsp;in our own dashboard, while the saved/pre-defined queries cannot be identified from&amp;nbsp;system.query.history&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 16:39:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100944#M2452</guid>
      <dc:creator>BryanC</dc:creator>
      <dc:date>2024-12-04T16:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Any Databricks system tables contain info of the saved/pre-defined queries</title>
      <link>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100952#M2454</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;
&lt;OL class="marker:text-textOff list-decimal pl-8"&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Workspace UI&lt;/STRONG&gt;: You can view and manage saved queries by clicking on "Workspace" or "Queries" in the sidebar&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="whitespace-nowrap"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Workspace Browser&lt;/STRONG&gt;: Queries can be organized into folders along with other Databricks objects in the workspace browser.&lt;/SPAN&gt;
&lt;DIV class="inline-flex h-[1rem] min-w-[1rem] items-center justify-center rounded-full px-[0.3em] text-center font-mono text-[0.60rem] tabular-nums md:hover:text-white border-borderMain/50 ring-borderMain/50 divide-borderMain/50 dark:divide-borderMainDark/50  dark:ring-borderMainDark/50 dark:border-borderMainDark/50 transition duration-300 bg-offsetPlus dark:bg-offsetPlusDark md:hover:bg-super"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;API and Connectors&lt;/STRONG&gt;: You can create and manage queries using the REST API, JDBC/ODBC connectors, or partner tools without using the Databricks UI.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;Please see this link&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/sql/user/queries/" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/sql/user/queries/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 17:00:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/any-databricks-system-tables-contain-info-of-the-saved-pre/m-p/100952#M2454</guid>
      <dc:creator>tapash-db</dc:creator>
      <dc:date>2024-12-04T17:00:11Z</dc:date>
    </item>
  </channel>
</rss>

