<?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 AssertionError: assertion failed: Unable to delete the record but I am able to select it  though in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/assertionerror-assertion-failed-unable-to-delete-the-record-but/m-p/19458#M13042</link>
    <description>&lt;P&gt;Is there any reason this command works well:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sql 
SELECT * FROM  datanase.table WHERE  salary &amp;gt; 1000&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;returning 2 rows, while the below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sql 
delete FROM  datanase.table WHERE  salary &amp;gt; 1000&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Error&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Error in SQL statement: AssertionError: assertion failed: No plan for DeleteFromTable&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 16:45:03 GMT</pubDate>
    <dc:creator>User16826994223</dc:creator>
    <dc:date>2021-06-25T16:45:03Z</dc:date>
    <item>
      <title>AssertionError: assertion failed: Unable to delete the record but I am able to select it  though</title>
      <link>https://community.databricks.com/t5/data-engineering/assertionerror-assertion-failed-unable-to-delete-the-record-but/m-p/19458#M13042</link>
      <description>&lt;P&gt;Is there any reason this command works well:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sql 
SELECT * FROM  datanase.table WHERE  salary &amp;gt; 1000&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;returning 2 rows, while the below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sql 
delete FROM  datanase.table WHERE  salary &amp;gt; 1000&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Error&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Error in SQL statement: AssertionError: assertion failed: No plan for DeleteFromTable&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 16:45:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/assertionerror-assertion-failed-unable-to-delete-the-record-but/m-p/19458#M13042</guid>
      <dc:creator>User16826994223</dc:creator>
      <dc:date>2021-06-25T16:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: AssertionError: assertion failed: Unable to delete the record but I am able to select it  though</title>
      <link>https://community.databricks.com/t5/data-engineering/assertionerror-assertion-failed-unable-to-delete-the-record-but/m-p/19459#M13043</link>
      <description>&lt;P&gt;DELETE FROM (and similarly&amp;nbsp;UPDAT. aren't supported on the Parquet files - right now on Databricks, it's supported for Delta format. You can convert your parquet files into delta using&amp;nbsp;&lt;A href="https://docs.databricks.com/spark/latest/spark-sql/language-manual/delta-convert-to-delta.html" alt="https://docs.databricks.com/spark/latest/spark-sql/language-manual/delta-convert-to-delta.html" target="_blank"&gt;CONVERT TO DELTA&lt;/A&gt;, and then this command will work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 16:45:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/assertionerror-assertion-failed-unable-to-delete-the-record-but/m-p/19459#M13043</guid>
      <dc:creator>User16826994223</dc:creator>
      <dc:date>2021-06-25T16:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: AssertionError: assertion failed: Unable to delete the record but I am able to select it  though</title>
      <link>https://community.databricks.com/t5/data-engineering/assertionerror-assertion-failed-unable-to-delete-the-record-but/m-p/19460#M13044</link>
      <description>&lt;P&gt;Have multiple questions on converting to delta.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;When I tried to covert as DELTA, then I cant access the parquet files using spark.read.parquet&lt;/LI&gt;&lt;LI&gt;If converted to delta, then i ran a delete command for a filter example&amp;gt; where id = 1001. After the query execution, this data for id 1001 will be deleted from the underlying files or it will present, but not returned when running query&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 13 Oct 2021 07:02:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/assertionerror-assertion-failed-unable-to-delete-the-record-but/m-p/19460#M13044</guid>
      <dc:creator>kjoth</dc:creator>
      <dc:date>2021-10-13T07:02:00Z</dc:date>
    </item>
  </channel>
</rss>

