<?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 sql delete? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29832#M21533</link>
    <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;pre&amp;gt; Hello databricks people, I started working with databricks today. I have a sql script which I developed with sqlite3 on a laptop. I want to port the script to databricks. I started with two sql statements: select count(prop_id) from prop0; delete from prop0 where prop_id is null; They seem like simple statements. When I run them on data bricks I see this: Unsupported language features in query: delete from prop0 where prop_id is null. I find it hard to believe that databricks does not support statement: delete from prop0 where prop_id is null Am I doing something wrong? Is it reasonable to expect that databricks should support: delete from prop0 where prop_id is null ?? &amp;lt;/pre&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Mar 2016 04:46:20 GMT</pubDate>
    <dc:creator>dan11</dc:creator>
    <dc:date>2016-03-05T04:46:20Z</dc:date>
    <item>
      <title>sql delete?</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29832#M21533</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;pre&amp;gt; Hello databricks people, I started working with databricks today. I have a sql script which I developed with sqlite3 on a laptop. I want to port the script to databricks. I started with two sql statements: select count(prop_id) from prop0; delete from prop0 where prop_id is null; They seem like simple statements. When I run them on data bricks I see this: Unsupported language features in query: delete from prop0 where prop_id is null. I find it hard to believe that databricks does not support statement: delete from prop0 where prop_id is null Am I doing something wrong? Is it reasonable to expect that databricks should support: delete from prop0 where prop_id is null ?? &amp;lt;/pre&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 04:46:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29832#M21533</guid>
      <dc:creator>dan11</dc:creator>
      <dc:date>2016-03-05T04:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: sql delete?</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29833#M21534</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The js-editor in this forum is horrible; I tried using pre-tags because of the angle-brackets I see in the upper menu and they got sanitized.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 04:48:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29833#M21534</guid>
      <dc:creator>dan11</dc:creator>
      <dc:date>2016-03-05T04:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: sql delete?</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29834#M21535</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi Dan,&lt;/P&gt;
&lt;P&gt;Spark SQL is based on HiveQL. It allows you to use SQL syntax to do big data, like count your data. It does not, however, support operations like delete and update. I cover why in my talk here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://spark-summit.org/east-2016/events/not-your-fathers-database-how-to-use-apache-spark-properly-in-your-big-data-architecture/" target="test_blank"&gt;https://spark-summit.org/east-2016/events/not-your-fathers-database-how-to-use-apache-spark-properly-in-your-big-data-architecture/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;-Vida&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 17:56:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29834#M21535</guid>
      <dc:creator>vida</dc:creator>
      <dc:date>2016-03-11T17:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: sql delete?</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29835#M21536</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hey Dan, good to hear you're getting started with Databricks. This is not a limitation of Databricks it's a restriction built into Spark itself. Spark is not a data store, it's a distributed computation framework. Therefore deleting data would be unnecessary. If you don't need it, you would just filter it out either in a query or by setting it up as a new table as below.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;%sql SELECT * FROM prop0 where prop_id is null AS new_table&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It's probably worth your time reading a bit more about the tools that Spark provides, the learning curve is steep but once you get past the first steps you'll start seeing the value! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I might recommend some of the material that we have in the community edition like some of the CS100 coursework.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 17:57:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29835#M21536</guid>
      <dc:creator>Bill_Chambers</dc:creator>
      <dc:date>2016-03-11T17:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: sql delete?</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29836#M21537</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Vida, there is a document in Databricks menitoning that deletes are permitted on Delta. &lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.databricks.com/spark/latest/spark-sql/language-manual/delete.html" target="test_blank"&gt;https://docs.databricks.com/spark/latest/spark-sql/language-manual/delete.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Are we missing anything here?&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 08:31:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/29836#M21537</guid>
      <dc:creator>BaranitharanV</dc:creator>
      <dc:date>2019-02-19T08:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: sql delete?</title>
      <link>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/149271#M53055</link>
      <description>&lt;P&gt;You aren't doing anything wrong logically, but Databricks requires row-level changes to happen on Delta Lake tables. Standard Spark tables (like those backed by raw Parquet) are often immutable. Have a look at the &lt;A href="https://docs.databricks.com/spark/latest/spark-sql/language-manual/delete.html" target="_blank" rel="noopener"&gt;Language Manual for DELET&lt;/A&gt;&lt;A href="https://dmebatiment.fr/" target="_blank" rel="noopener"&gt;E&lt;/A&gt; to ensure your table configuration matches the requirements for data manipulation.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2026 11:05:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sql-delete/m-p/149271#M53055</guid>
      <dc:creator>oliverstonez</dc:creator>
      <dc:date>2026-02-25T11:05:28Z</dc:date>
    </item>
  </channel>
</rss>

