<?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: Delta table in catalogue are showing but DO NOT exist in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95239#M39062</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/126224"&gt;@RobDineen&lt;/a&gt;Can you try to refresh your table &lt;STRONG&gt;(REFRESH TABLE your_catalog.your_schema.your_table)&lt;/STRONG&gt; and followed by &lt;STRONG&gt;spark.catalog.clearCache().&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Then try the drop operation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;table_path = "dbfs:/user/hive/warehouse/season"
dbutils.fs.rm(table_path, recurse=True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 12:10:29 GMT</pubDate>
    <dc:creator>Panda</dc:creator>
    <dc:date>2024-10-21T12:10:29Z</dc:date>
    <item>
      <title>Delta table in catalogue are showing but DO NOT exist</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/93622#M38737</link>
      <description>&lt;P&gt;I am just working with Databricks, and have come across an issue where delta tables have been created in the catalogue but do not actually exist.&amp;nbsp; see screenshot for script ive been running and error messages&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobDineen_0-1728648443009.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11841iC1ED59F353F725E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobDineen_0-1728648443009.png" alt="RobDineen_0-1728648443009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;is this a bug, or am i missing something obvious here.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Surely i cannot be this bad LOL&lt;/P&gt;&lt;P&gt;any help would be appreciated.&lt;/P&gt;&lt;P&gt;Regards Rob&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 12:10:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/93622#M38737</guid>
      <dc:creator>RobDineen</dc:creator>
      <dc:date>2024-10-11T12:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Delta table in catalogue are showing but DO NOT exist</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/93635#M38738</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/126224"&gt;@RobDineen&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Maybe you tried to drop the table, but due to some corruption some files remained in the location.&lt;BR /&gt;&lt;BR /&gt;Could you check if any files exist in the table location?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;display(dbutils.fs.ls("dbfs:/user/hive/warehouse/season"))&lt;/LI-CODE&gt;&lt;P&gt;If any files exists, just delete them and try to recreate the table.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 14:46:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/93635#M38738</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-10-11T14:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Delta table in catalogue are showing but DO NOT exist</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95081#M39035</link>
      <description>&lt;P&gt;Hi there, sorry taken a while to get back, been on holiday&lt;/P&gt;&lt;P&gt;i have tried the above suggestion and i get the following 2 rows back&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobDineen_0-1729433888450.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12092i691137424D33EC44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobDineen_0-1729433888450.png" alt="RobDineen_0-1729433888450.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;surely that is just telling us there is one DB called season&lt;/P&gt;&lt;P&gt;also if i run the following, gives me a list of all DBs&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobDineen_0-1729434896272.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12093i432FA415D695FEC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobDineen_0-1729434896272.png" alt="RobDineen_0-1729434896272.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but why does the catalogue have 3 objects with the same name ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobDineen_1-1729434955680.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12094i915BE7C880581B80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobDineen_1-1729434955680.png" alt="RobDineen_1-1729434955680.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;also if you drop one of the objects, i also get the following&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobDineen_0-1729436296447.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12095iC6E6AA24D2D81607/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobDineen_0-1729436296447.png" alt="RobDineen_0-1729436296447.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;so where are the 3 tables in the list coming from ?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 14:58:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95081#M39035</guid>
      <dc:creator>RobDineen</dc:creator>
      <dc:date>2024-10-20T14:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Delta table in catalogue are showing but DO NOT exist</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95084#M39037</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/126224"&gt;@RobDineen&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Based on your printscreens, it seems that there are residual files in the storage location that are causing the tables to appear in the catalog even though they don't exist properly. This can happen if a table was not dropped cleanly or if there was some corruption during deletion.&lt;BR /&gt;&lt;BR /&gt;Could you remove the files and folders of the season table location?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;table_path = "dbfs:/user/hive/warehouse/season"
dbutils.fs.rm(table_path, recurse=True)&lt;/LI-CODE&gt;&lt;P&gt;Could you check if removing the files help and the tables do not appear in the catalog + you are able to run create table statement?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 15:53:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95084#M39037</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-10-20T15:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Delta table in catalogue are showing but DO NOT exist</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95142#M39045</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Ensure you are specifying the database (or schema) where the table should be created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(If you are using the default database, you can omit the database name.)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;database_name &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"your_database_name"&lt;/SPAN&gt;&lt;SPAN&gt; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;# Replace with your actual database name&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;table_name &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;database_name&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;.season"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;target_df.write.mode(&lt;/SPAN&gt;&lt;SPAN&gt;"overwrite"&lt;/SPAN&gt;&lt;SPAN&gt;).saveAsTable(table_name)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Oct 2024 08:50:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95142#M39045</guid>
      <dc:creator>saurabh18cs</dc:creator>
      <dc:date>2024-10-21T08:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Delta table in catalogue are showing but DO NOT exist</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95239#M39062</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/126224"&gt;@RobDineen&lt;/a&gt;Can you try to refresh your table &lt;STRONG&gt;(REFRESH TABLE your_catalog.your_schema.your_table)&lt;/STRONG&gt; and followed by &lt;STRONG&gt;spark.catalog.clearCache().&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Then try the drop operation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;table_path = "dbfs:/user/hive/warehouse/season"
dbutils.fs.rm(table_path, recurse=True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:10:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95239#M39062</guid>
      <dc:creator>Panda</dc:creator>
      <dc:date>2024-10-21T12:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Delta table in catalogue are showing but DO NOT exist</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95460#M39107</link>
      <description>&lt;P&gt;Thank you for your reply, i run the clearCache() but did not make any difference. However&lt;/P&gt;&lt;P&gt;I deleted all my code within my notebook, and as i was clearing out the code, the tables disappeared one by one, as if the (For you) tab was working like it a history or what will end up being the result ???&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobDineen_0-1729594806150.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12151i99879CC435B11F91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobDineen_0-1729594806150.png" alt="RobDineen_0-1729594806150.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 11:00:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-in-catalogue-are-showing-but-do-not-exist/m-p/95460#M39107</guid>
      <dc:creator>RobDineen</dc:creator>
      <dc:date>2024-10-22T11:00:21Z</dc:date>
    </item>
  </channel>
</rss>

