<?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: Permission denied on schema evolution view in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/permission-denied-on-schema-evolution-view/m-p/109642#M43360</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/148558"&gt;@Sinkrad&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;There is an internal case about this:&amp;nbsp;ES-1260035, and a fix is going to be out for this quarter. The behavior where only the view owner can update the view definition after a schema change is not intended. It is expected that the view should automatically handle schema evolution without requiring the view owner to perform the first query.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2025 15:41:04 GMT</pubDate>
    <dc:creator>Alberto_Umana</dc:creator>
    <dc:date>2025-02-10T15:41:04Z</dc:date>
    <item>
      <title>Permission denied on schema evolution view</title>
      <link>https://community.databricks.com/t5/data-engineering/permission-denied-on-schema-evolution-view/m-p/109637#M43359</link>
      <description>&lt;P&gt;Hey Databricks community,&lt;/P&gt;&lt;P&gt;We are registering views in Databricks with schema evolution, however these views fail when a user (other than the owner) is the first to query the view after the schema change.&lt;/P&gt;&lt;P&gt;PERMISSION_DENIED: User is not an owner of Table '&amp;lt;domain&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;view&amp;gt;'.&lt;/P&gt;&lt;P&gt;I had a look in the access log and it appears that if someone queries the view after a schema change, the view definition (columns) is updated. This update action can only be performed by the owner of the view and hence if any other user queries the view, the above error is thrown.&lt;/P&gt;&lt;P&gt;I was wondering if someone already encountered this error and found a solution&lt;/P&gt;&lt;P&gt;Example code leading to the error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;create table &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; location '&amp;lt;external storage location&amp;gt;'
create view &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;view&amp;gt; with schema evolution as select * from &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;

# &amp;lt;-- Make any schema change to the delta table in the external location

Select * from &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&amp;lt;view&amp;gt; # Perform this query with another identity than the one creating the table&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 15:14:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/permission-denied-on-schema-evolution-view/m-p/109637#M43359</guid>
      <dc:creator>Sinkrad</dc:creator>
      <dc:date>2025-02-10T15:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Permission denied on schema evolution view</title>
      <link>https://community.databricks.com/t5/data-engineering/permission-denied-on-schema-evolution-view/m-p/109642#M43360</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/148558"&gt;@Sinkrad&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;There is an internal case about this:&amp;nbsp;ES-1260035, and a fix is going to be out for this quarter. The behavior where only the view owner can update the view definition after a schema change is not intended. It is expected that the view should automatically handle schema evolution without requiring the view owner to perform the first query.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 15:41:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/permission-denied-on-schema-evolution-view/m-p/109642#M43360</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-02-10T15:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Permission denied on schema evolution view</title>
      <link>https://community.databricks.com/t5/data-engineering/permission-denied-on-schema-evolution-view/m-p/113901#M44671</link>
      <description>&lt;P&gt;Please note that ES-1260035 was marked RESOLVED on January 3, and a new ticket ES-1345582 - Issue with using a view WITH SCHEMA EVOLUTION remains open for resolving the issue. It's my understanding the new work is planned for DBR 17.0 in the May timeframe but dates can change.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 14:11:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/permission-denied-on-schema-evolution-view/m-p/113901#M44671</guid>
      <dc:creator>jim_thorstad</dc:creator>
      <dc:date>2025-03-28T14:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Permission denied on schema evolution view</title>
      <link>https://community.databricks.com/t5/data-engineering/permission-denied-on-schema-evolution-view/m-p/132507#M49517</link>
      <description>&lt;P&gt;Hi, do you have any update on the status of&amp;nbsp;&lt;SPAN&gt;ES-1345582? Hitting the error where the owner must query the schema evolution view after a schema change on a serverless SQL warehouse.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 00:08:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/permission-denied-on-schema-evolution-view/m-p/132507#M49517</guid>
      <dc:creator>vinnyt</dc:creator>
      <dc:date>2025-09-19T00:08:08Z</dc:date>
    </item>
  </channel>
</rss>

