<?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: Error &amp;quot;[INSUFFICIENT_PERMISSIONS] Insufficient privileges SQLSTATE: 42501&amp;quot; in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/error-quot-insufficient-permissions-insufficient-privileges/m-p/112512#M1942</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Things are working as soon as I use a compute with Access Mode = Standard.&lt;BR /&gt;Vinc&lt;/P&gt;</description>
    <pubDate>Thu, 13 Mar 2025 18:02:33 GMT</pubDate>
    <dc:creator>VCA50380</dc:creator>
    <dc:date>2025-03-13T18:02:33Z</dc:date>
    <item>
      <title>Error "[INSUFFICIENT_PERMISSIONS] Insufficient privileges SQLSTATE: 42501"</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/error-quot-insufficient-permissions-insufficient-privileges/m-p/111754#M1920</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When I do some DML statements using a view "the_source_view"&amp;nbsp; direcly in SQL as a basis, all works fine. I can do inserts in another Delta table based on the data coming out of this view.&lt;BR /&gt;It works too from a Job: WorkFlow -&amp;gt; Task -&amp;gt; Notebook containing SQL statements.&lt;/P&gt;&lt;P&gt;Now if I try to execute the same&amp;nbsp;statements via PySpark, like I would do as a dynamic SQL in Oracle, I get the following error:&lt;BR /&gt;"&lt;BR /&gt;&lt;SPAN&gt;[INSUFFICIENT_PERMISSIONS] Insufficient privileges:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;User does not have SELECT on Table 'mycatalog.mychema.__materialization_mat_951a1902_a8ff_43e1_aa6a_4ca05a4e3b19_the_source_view_1'. SQLSTATE: 42501&lt;BR /&gt;&lt;/SPAN&gt;"&lt;BR /&gt;What is missing there in terms of privileges? When I look at the permissions, I don't see any difference with other tables or views.&lt;BR /&gt;The view&amp;nbsp; "the_source_view"&amp;nbsp; has been created by a colleague of another team, not by me, and so I don't have all details on "what is behing" if I can say.&lt;BR /&gt;The PySpark execution mean that I'm using a All Purpose compute.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for the help !&lt;BR /&gt;Vinc&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 19:20:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/error-quot-insufficient-permissions-insufficient-privileges/m-p/111754#M1920</guid>
      <dc:creator>VCA50380</dc:creator>
      <dc:date>2025-03-04T19:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error "[INSUFFICIENT_PERMISSIONS] Insufficient privileges SQLSTATE: 42501"</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/error-quot-insufficient-permissions-insufficient-privileges/m-p/111918#M1932</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;In order to add a bit more of "context" on this question:&lt;BR /&gt;. Is there a difference of privileges needed when executing a &lt;U&gt;&lt;STRONG&gt;SQL code&lt;/STRONG&gt;&lt;/U&gt; in a Notebook - targeting a view like&lt;SPAN&gt;&amp;nbsp;"the_source_view" in my example, versus&amp;nbsp;executing a &lt;U&gt;&lt;STRONG&gt;PySpark code&lt;/STRONG&gt;&lt;/U&gt; which is using the same view ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 15:54:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/error-quot-insufficient-permissions-insufficient-privileges/m-p/111918#M1932</guid>
      <dc:creator>VCA50380</dc:creator>
      <dc:date>2025-03-06T15:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error "[INSUFFICIENT_PERMISSIONS] Insufficient privileges SQLSTATE: 42501"</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/error-quot-insufficient-permissions-insufficient-privileges/m-p/112512#M1942</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Things are working as soon as I use a compute with Access Mode = Standard.&lt;BR /&gt;Vinc&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 18:02:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/error-quot-insufficient-permissions-insufficient-privileges/m-p/112512#M1942</guid>
      <dc:creator>VCA50380</dc:creator>
      <dc:date>2025-03-13T18:02:33Z</dc:date>
    </item>
  </channel>
</rss>

