<?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: Privilege Issue When Running Delta Table SaveAsTable Command in Databricks Runtime 10.4 in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/privilege-issue-when-running-delta-table-saveastable-command-in/m-p/43027#M1198</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/87815"&gt;@drii_cavalcanti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the error, we could see that you do not have permission to use the catalog. I suppose you are using Unity Catalog. You should 3 levels of permissions to access the Catalog, schema and then tables.&lt;/P&gt;&lt;P&gt;You can refer to this document -&amp;nbsp;&lt;A href="https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html," target="_blank"&gt;https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html, &lt;/A&gt;which explains how to provide access to the catalog, schema and table.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2023 04:46:22 GMT</pubDate>
    <dc:creator>Tharun-Kumar</dc:creator>
    <dc:date>2023-09-01T04:46:22Z</dc:date>
    <item>
      <title>Privilege Issue When Running Delta Table SaveAsTable Command in Databricks Runtime 10.4</title>
      <link>https://community.databricks.com/t5/data-governance/privilege-issue-when-running-delta-table-saveastable-command-in/m-p/43023#M1197</link>
      <description>&lt;P&gt;I am attempting to execute the following command from a notebook on a runtime 10.4 cluster, but I'm encountering an error: "&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;current user does not have privilege USAGE on Catalog&lt;/SPAN&gt;&lt;/FONT&gt;".&lt;/P&gt;&lt;P&gt;To provide some context, I am using &lt;FONT color="#000080"&gt;DBR 10.4&lt;/FONT&gt; specifically because I need to retrieve sensitive data (which &lt;STRONG&gt;cannot&lt;/STRONG&gt; be downloaded) from a SQL Server that requires a driver called '&lt;FONT color="#000080"&gt;net.sourceforge.jtds.jdbc.Driver&lt;/FONT&gt;' to establish a connection.&lt;/P&gt;&lt;P&gt;The code I'm attempting to run is:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;df.&lt;SPAN class=""&gt;write&lt;/SPAN&gt;.&lt;SPAN class=""&gt;format&lt;/SPAN&gt;(&lt;SPAN class=""&gt;"delta"&lt;/SPAN&gt;).mode(&lt;SPAN class=""&gt;"append"&lt;/SPAN&gt;).saveAsTable(&amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;&lt;SPAN class=""&gt;table&lt;/SPAN&gt;&amp;gt;)&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Is there any parameter that I am not aware of to suppress this permission issue? Any insights or guidance on resolving this privilege issue would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Aug 2023 22:54:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/privilege-issue-when-running-delta-table-saveastable-command-in/m-p/43023#M1197</guid>
      <dc:creator>drii_cavalcanti</dc:creator>
      <dc:date>2023-08-31T22:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Privilege Issue When Running Delta Table SaveAsTable Command in Databricks Runtime 10.4</title>
      <link>https://community.databricks.com/t5/data-governance/privilege-issue-when-running-delta-table-saveastable-command-in/m-p/43027#M1198</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/87815"&gt;@drii_cavalcanti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the error, we could see that you do not have permission to use the catalog. I suppose you are using Unity Catalog. You should 3 levels of permissions to access the Catalog, schema and then tables.&lt;/P&gt;&lt;P&gt;You can refer to this document -&amp;nbsp;&lt;A href="https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html," target="_blank"&gt;https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html, &lt;/A&gt;which explains how to provide access to the catalog, schema and table.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 04:46:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/privilege-issue-when-running-delta-table-saveastable-command-in/m-p/43027#M1198</guid>
      <dc:creator>Tharun-Kumar</dc:creator>
      <dc:date>2023-09-01T04:46:22Z</dc:date>
    </item>
  </channel>
</rss>

