<?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: Bug: Shallow Clone `create or replace` causing  [TABLE_OR_VIEW_NOT_FOUND] in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/67952#M33487</link>
    <description>&lt;P&gt;Hi Steven&lt;BR /&gt;This is really a strange issue. First let's exclude some possible causes for this. We need to check the following:&lt;BR /&gt;- The permission to table A and Catalog B. take a look at the following link to check what permission is needed:&amp;nbsp;&lt;A href="https://docs.databricks.com/en/delta/clone-unity-catalog.html" target="_blank"&gt;https://docs.databricks.com/en/delta/clone-unity-catalog.html&lt;/A&gt;&lt;BR /&gt;- the cluster you are using to clone is a unity catalog enabled cluster.&lt;BR /&gt;- Just to make sure is the "Destination" Table not found or the "Source"&lt;BR /&gt;Hopefully by checking those we can figure out why this is happening.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2024 14:19:45 GMT</pubDate>
    <dc:creator>Omar_hamdan</dc:creator>
    <dc:date>2024-05-02T14:19:45Z</dc:date>
    <item>
      <title>Bug: Shallow Clone `create or replace` causing  [TABLE_OR_VIEW_NOT_FOUND]</title>
      <link>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/67920#M33480</link>
      <description>&lt;P&gt;I am having an issue where when I do a shallow clone using :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;create&lt;/SPAN&gt; &lt;SPAN&gt;or&lt;/SPAN&gt; &lt;SPAN&gt;replace&lt;/SPAN&gt; &lt;SPAN&gt;table&lt;/SPAN&gt; &lt;SPAN&gt;`catalog_a_test&lt;/SPAN&gt;&lt;SPAN&gt;`.`schema_a`.`table_a`&lt;/SPAN&gt; &lt;SPAN&gt;shallow&lt;/SPAN&gt; &lt;SPAN&gt;clone&lt;/SPAN&gt; &lt;SPAN&gt;`catalog_a`&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;`schema_a`&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;`table_a`&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I get:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/error-messages/table-or-view-not-found-error-class.html" target="_blank" rel="noopener noreferrer"&gt;[TABLE_OR_VIEW_NOT_FOUND]&lt;/A&gt;&amp;nbsp;The&amp;nbsp;table&amp;nbsp;or&amp;nbsp;view &lt;STRONG&gt;catalog_a_test.schema_a.table_a&lt;/STRONG&gt;&amp;nbsp;cannot&amp;nbsp;be&amp;nbsp;found.&amp;nbsp;Verify&amp;nbsp;the&amp;nbsp;spelling&amp;nbsp;and&amp;nbsp;correctness&amp;nbsp;of&amp;nbsp;the&amp;nbsp;schema&amp;nbsp;and&amp;nbsp;catalog. If&amp;nbsp;you&amp;nbsp;did&amp;nbsp;not&amp;nbsp;qualify&amp;nbsp;the&amp;nbsp;name&amp;nbsp;with&amp;nbsp;a&amp;nbsp;schema,&amp;nbsp;verify&amp;nbsp;the&amp;nbsp;current_schema()&amp;nbsp;output,&amp;nbsp;or&amp;nbsp;qualify&amp;nbsp;the&amp;nbsp;name&amp;nbsp;with&amp;nbsp;the&amp;nbsp;correct&amp;nbsp;schema&amp;nbsp;and&amp;nbsp;catalog. To&amp;nbsp;tolerate&amp;nbsp;the&amp;nbsp;error&amp;nbsp;on&amp;nbsp;drop&amp;nbsp;use&amp;nbsp;DROP&amp;nbsp;VIEW&amp;nbsp;IF&amp;nbsp;EXISTS&amp;nbsp;or&amp;nbsp;DROP&amp;nbsp;TABLE&amp;nbsp;IF&amp;nbsp;EXISTS.&amp;nbsp;SQLSTATE:&amp;nbsp;42P01&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;As you can see it's throwing an error related to the new cloned table. The weird bit is, the command does create the table.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 May 2024 09:24:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/67920#M33480</guid>
      <dc:creator>stevenayers-bge</dc:creator>
      <dc:date>2024-05-02T09:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Shallow Clone `create or replace` causing  [TABLE_OR_VIEW_NOT_FOUND]</title>
      <link>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/67952#M33487</link>
      <description>&lt;P&gt;Hi Steven&lt;BR /&gt;This is really a strange issue. First let's exclude some possible causes for this. We need to check the following:&lt;BR /&gt;- The permission to table A and Catalog B. take a look at the following link to check what permission is needed:&amp;nbsp;&lt;A href="https://docs.databricks.com/en/delta/clone-unity-catalog.html" target="_blank"&gt;https://docs.databricks.com/en/delta/clone-unity-catalog.html&lt;/A&gt;&lt;BR /&gt;- the cluster you are using to clone is a unity catalog enabled cluster.&lt;BR /&gt;- Just to make sure is the "Destination" Table not found or the "Source"&lt;BR /&gt;Hopefully by checking those we can figure out why this is happening.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 14:19:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/67952#M33487</guid>
      <dc:creator>Omar_hamdan</dc:creator>
      <dc:date>2024-05-02T14:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Shallow Clone `create or replace` causing  [TABLE_OR_VIEW_NOT_FOUND]</title>
      <link>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/67991#M33509</link>
      <description>&lt;P&gt;Hi Omar &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I checked those things out and everything seems to be in order. I also spun up a new warehouse and could reproduce the issue.&lt;/P&gt;&lt;P&gt;I was able to resolve the issue by downgrading our warehouse from the “Preview” Channel to “Current” Channel, which may mean there has been a bug introduced into the “Preview” Channel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The release notes for &lt;A href="https://docs.databricks.com/en/sql/release-notes/index.html" target="_self"&gt;Databricks SQL release notes&lt;/A&gt;&amp;nbsp;say that both channels use 2024.15, but maybe there’s been a minor version release in “Preview” channel that’s triggered the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 05:44:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/67991#M33509</guid>
      <dc:creator>stevenayers-bge</dc:creator>
      <dc:date>2024-05-03T05:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Shallow Clone `create or replace` causing  [TABLE_OR_VIEW_NOT_FOUND]</title>
      <link>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/68015#M33521</link>
      <description>&lt;P&gt;Hi Steven&lt;BR /&gt;&lt;BR /&gt;Thanks for checking out all the recommended options. I tried to reproduce the error and was not successful. Using both channel preview and current I was able to create a shallow clone of a table. However the channel version for me is 2024.25.&lt;BR /&gt;So it might be a hiccup in the 2024.15 preview, but it is resolved in the 2024.25 which soon should be in your region.&amp;nbsp;&lt;BR /&gt;Thanks for flagging this up.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 08:57:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/68015#M33521</guid>
      <dc:creator>Omar_hamdan</dc:creator>
      <dc:date>2024-05-03T08:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Shallow Clone `create or replace` causing  [TABLE_OR_VIEW_NOT_FOUND]</title>
      <link>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/70367#M34058</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/34514"&gt;@Omar_hamdan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm now experiencing this error in both preview and current channels (2024.25). Is there a way I can rollback my SQL Warehouse Version until this is resolved?&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 07:42:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bug-shallow-clone-create-or-replace-causing-table-or-view-not/m-p/70367#M34058</guid>
      <dc:creator>stevenayers-bge</dc:creator>
      <dc:date>2024-05-23T07:42:58Z</dc:date>
    </item>
  </channel>
</rss>

