<?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: Location not empty but not a Delta table in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/37334#M26322</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN&gt;DELETE the original Parquet table as a separate statement&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How can this be done? simple query "DROP TABLE .... " still failing with "&lt;SPAN&gt;cannot&amp;nbsp;be&amp;nbsp;found"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 17:44:20 GMT</pubDate>
    <dc:creator>gilo12</dc:creator>
    <dc:date>2023-07-10T17:44:20Z</dc:date>
    <item>
      <title>Location not empty but not a Delta table</title>
      <link>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/26014#M18143</link>
      <description>&lt;P&gt;I need help or insight regarding the following errors.  My instructors (Brooke Wenig with Conor Murphy)  ran this code successfully on our course video, but I cannot replicate what she did.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code  and below it is the outcome from my Coursera course, workspace section 4.5 notebook:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE DATABASE IF NOT EXISTS Databricks;&lt;/P&gt;&lt;P&gt;USE Databricks;&lt;/P&gt;&lt;P&gt;DROP TABLE IF EXISTS fireCallsDelta;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE TABLE fireCallsDelta&lt;/P&gt;&lt;P&gt;USING DELTA&lt;/P&gt;&lt;P&gt;PARTITIONED BY (City)&lt;/P&gt;&lt;P&gt;AS&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;SELECT * FROM fireCallsParquet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) Spark Jobs&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Job 3&amp;nbsp;&lt;A href="https://community.cloud.databricks.com/?o=3186766452548048#setting/sparkui/1024-174136-modzgud4/driver-3650638837137985697/jobs/job?id=3" alt="https://community.cloud.databricks.com/?o=3186766452548048#setting/sparkui/1024-174136-modzgud4/driver-3650638837137985697/jobs/job?id=3" target="_blank"&gt;View&lt;/A&gt;(Stages: 1/1)&lt;/LI&gt;&lt;LI&gt;Job 4&amp;nbsp;&lt;A href="https://community.cloud.databricks.com/?o=3186766452548048#setting/sparkui/1024-174136-modzgud4/driver-3650638837137985697/jobs/job?id=4" alt="https://community.cloud.databricks.com/?o=3186766452548048#setting/sparkui/1024-174136-modzgud4/driver-3650638837137985697/jobs/job?id=4" target="_blank"&gt;View&lt;/A&gt;(Stages: 1/1, 1 skipped)&lt;/LI&gt;&lt;LI&gt;Job 5&amp;nbsp;&lt;A href="https://community.cloud.databricks.com/?o=3186766452548048#setting/sparkui/1024-174136-modzgud4/driver-3650638837137985697/jobs/job?id=5" alt="https://community.cloud.databricks.com/?o=3186766452548048#setting/sparkui/1024-174136-modzgud4/driver-3650638837137985697/jobs/job?id=5" target="_blank"&gt;View&lt;/A&gt;(Stages: 1/1, 2 skipped)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in SQL statement: AnalysisException: Cannot create table ('`spark_catalog`.`databricks`.`fireCallsDelta`'). The associated location ('dbfs:/user/hive/warehouse/databricks.db/firecallsdelta') is not empty but it's not a Delta table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 18:41:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/26014#M18143</guid>
      <dc:creator>Distributed_Com</dc:creator>
      <dc:date>2022-10-24T18:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Location not empty but not a Delta table</title>
      <link>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/26015#M18144</link>
      <description>&lt;P&gt;The `fireCallsDelta` table already exists, and it appears it was created as a PARQUET table.   A couple of options:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;DELETE the original Parquet table as a separate statement (i.e., in a separate cell so it can complete itself before any other jobs executing)&lt;/LI&gt;&lt;LI&gt;Rename the table to something else if perhaps others are running the same demo.  &lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 25 Oct 2022 04:56:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/26015#M18144</guid>
      <dc:creator>dennyglee</dc:creator>
      <dc:date>2022-10-25T04:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Location not empty but not a Delta table</title>
      <link>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/26017#M18146</link>
      <description>&lt;P&gt;Thanks.  Renaming table as you suggested allowed the query to run successfully.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 13:53:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/26017#M18146</guid>
      <dc:creator>Distributed_Com</dc:creator>
      <dc:date>2022-10-25T13:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Location not empty but not a Delta table</title>
      <link>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/26018#M18147</link>
      <description>&lt;P&gt;Done.  Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 13:54:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/26018#M18147</guid>
      <dc:creator>Distributed_Com</dc:creator>
      <dc:date>2022-10-25T13:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Location not empty but not a Delta table</title>
      <link>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/37334#M26322</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN&gt;DELETE the original Parquet table as a separate statement&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How can this be done? simple query "DROP TABLE .... " still failing with "&lt;SPAN&gt;cannot&amp;nbsp;be&amp;nbsp;found"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 17:44:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/location-not-empty-but-not-a-delta-table/m-p/37334#M26322</guid>
      <dc:creator>gilo12</dc:creator>
      <dc:date>2023-07-10T17:44:20Z</dc:date>
    </item>
  </channel>
</rss>

