<?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 Creating a persistent query history table using the REST API in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/creating-a-persistent-query-history-table-using-the-rest-api/m-p/93355#M2177</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am looking for a way to load a persistent query history table from the query history REST API (including metrics). I do know about the system table system.query.history, but I do not have access to it.&lt;/P&gt;&lt;P&gt;I am looking to create a python script to load this table on a daily basis. Does anyone have code they'd be willing to share?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 19:30:39 GMT</pubDate>
    <dc:creator>WWoman</dc:creator>
    <dc:date>2024-10-09T19:30:39Z</dc:date>
    <item>
      <title>Creating a persistent query history table using the REST API</title>
      <link>https://community.databricks.com/t5/data-governance/creating-a-persistent-query-history-table-using-the-rest-api/m-p/93355#M2177</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am looking for a way to load a persistent query history table from the query history REST API (including metrics). I do know about the system table system.query.history, but I do not have access to it.&lt;/P&gt;&lt;P&gt;I am looking to create a python script to load this table on a daily basis. Does anyone have code they'd be willing to share?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 19:30:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/creating-a-persistent-query-history-table-using-the-rest-api/m-p/93355#M2177</guid>
      <dc:creator>WWoman</dc:creator>
      <dc:date>2024-10-09T19:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a persistent query history table using the REST API</title>
      <link>https://community.databricks.com/t5/data-governance/creating-a-persistent-query-history-table-using-the-rest-api/m-p/95103#M2208</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you check if you have access to this?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dbsys21/lakehouse-tacklebox/tree/main/40-observability/dbsql-query-history-sync" target="_blank"&gt;https://github.com/dbsys21/lakehouse-tacklebox/tree/main/40-observability/dbsql-query-history-sync&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Ideally your organization should enable the system tables and provide the necessary access, so each team doesn't have to reinvent the wheel.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 22:34:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/creating-a-persistent-query-history-table-using-the-rest-api/m-p/95103#M2208</guid>
      <dc:creator>MoJaMa</dc:creator>
      <dc:date>2024-10-20T22:34:10Z</dc:date>
    </item>
  </channel>
</rss>

