<?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: Delete row from table is not working. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13700#M8332</link>
    <description>&lt;P&gt;HI @Jose Gonzalez​&amp;nbsp; , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have created a table  via spark using non high concurrency cluster - not writing as delta format. And created the table via spark. Where I have tried to delete the row but getting the error 1. Via Spark Notebook SQL &amp;amp; 2. SQL query&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;df.write.mode("overwrite").format("parquet").saveAsTable(name=f'{db_name}.{table_name}', path="dbfs:/reports/testing")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2418i96B14C4F307A958B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2412i06956CF45817EC7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 07:01:26 GMT</pubDate>
    <dc:creator>kjoth</dc:creator>
    <dc:date>2021-10-20T07:01:26Z</dc:date>
    <item>
      <title>Delete row from table is not working.</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13691#M8323</link>
      <description>&lt;P&gt;I have created External table using spark via below command. (Using Data science &amp;amp; Engineering)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;df.write.mode("overwrite").format("parquet").saveAsTable(name=f'{db_name}.{table_name}', path="dbfs:/reports/testing")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have tried to delete a row based on filter condition using SQL endpoint (Using SQL )&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DELETE FROM
&amp;nbsp;
  testing.mobile_number_table
&amp;nbsp;
WHERE
&amp;nbsp;
  x1 == 9940062964&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Getting below error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spark 3.0 Plans are not fully supported on table acl or credential passthrough clusters: DeleteFromTable (x1#6341L = 9940062964)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 06:54:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13691#M8323</guid>
      <dc:creator>kjoth</dc:creator>
      <dc:date>2021-10-13T06:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Delete row from table is not working.</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13692#M8324</link>
      <description>&lt;P&gt;try using :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;.format("delta")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;if not help I would check dbfs mount&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 09:38:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13692#M8324</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-10-13T09:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Delete row from table is not working.</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13693#M8325</link>
      <description>&lt;P&gt;Thank you. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 12:55:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13693#M8325</guid>
      <dc:creator>kjoth</dc:creator>
      <dc:date>2021-10-13T12:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Delete row from table is not working.</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13694#M8326</link>
      <description>&lt;P&gt;if helped you can choose my answer as best one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 17:41:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13694#M8326</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-10-13T17:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Delete row from table is not working.</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13695#M8327</link>
      <description>&lt;P&gt;hi @karthick J​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like the error is coming from your table permissions. Are you using a high concurrency cluster? if you do, then check if have table ACLs enable. Also try to test it using a standard cluster.  &lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 17:46:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13695#M8327</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2021-10-13T17:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Delete row from table is not working.</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13696#M8328</link>
      <description>&lt;P&gt;Hi @Jose Gonzalez​&amp;nbsp;,  Yes, Table access control has been enabled. Is this what you are referring too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2419iABB7A2D10D0B2129/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 06:28:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13696#M8328</guid>
      <dc:creator>kjoth</dc:creator>
      <dc:date>2021-10-18T06:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Delete row from table is not working.</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13697#M8329</link>
      <description>&lt;P&gt;Hi @Hubert Dudek​&amp;nbsp;, Is this(delta) is the only way for updating &amp;amp; deleting records.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 07:05:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13697#M8329</guid>
      <dc:creator>kjoth</dc:creator>
      <dc:date>2021-10-18T07:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Delete row from table is not working.</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13698#M8330</link>
      <description>&lt;P&gt;using delta file format is only ("real") way to delte smth from file as it is transaction file (so it make commit that record is deleted kind of sql/git)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other data files it will require to overwrite everything every time.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 10:34:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13698#M8330</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-10-18T10:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Delete row from table is not working.</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13699#M8331</link>
      <description>&lt;P&gt;hi @karthick J​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try to delete the row and execute your command in a non high concurrency cluster? the reason why im asking this is because we first need to isolate the error message and undertand why is happening to be able to find the best solution.  Is this issue still blocking you or you are able to mitigate/solve this error?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 21:48:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13699#M8331</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2021-10-18T21:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Delete row from table is not working.</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13700#M8332</link>
      <description>&lt;P&gt;HI @Jose Gonzalez​&amp;nbsp; , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have created a table  via spark using non high concurrency cluster - not writing as delta format. And created the table via spark. Where I have tried to delete the row but getting the error 1. Via Spark Notebook SQL &amp;amp; 2. SQL query&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;df.write.mode("overwrite").format("parquet").saveAsTable(name=f'{db_name}.{table_name}', path="dbfs:/reports/testing")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2418i96B14C4F307A958B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2412i06956CF45817EC7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 07:01:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-row-from-table-is-not-working/m-p/13700#M8332</guid>
      <dc:creator>kjoth</dc:creator>
      <dc:date>2021-10-20T07:01:26Z</dc:date>
    </item>
  </channel>
</rss>

