<?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: Concurrency in replaceWhere() in Databricks Free Edition Help</title>
    <link>https://community.databricks.com/t5/databricks-free-edition-help/concurrency-in-replacewhere/m-p/125634#M410</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/175522"&gt;@arnavsood&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;As per my understanding, even if parallel jobs are using overwrite with replaceWhere to update different rows, file-level conflicts can still occur. That’s because Delta Lake doesn’t provide row-level concurrency by default.&lt;/P&gt;&lt;P&gt;Row-level concurrency becomes available when deletion vectors are enabled on a non-partitioned table (or when using liquid clustering), and you're running on Databricks Runtime 14.2 or above.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jul 2025 16:56:42 GMT</pubDate>
    <dc:creator>SP_6721</dc:creator>
    <dc:date>2025-07-17T16:56:42Z</dc:date>
    <item>
      <title>Concurrency in replaceWhere()</title>
      <link>https://community.databricks.com/t5/databricks-free-edition-help/concurrency-in-replacewhere/m-p/125540#M403</link>
      <description>&lt;P&gt;Hi Databricks team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a quick question and would appreciate your guidance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let’s say I have a Delta table (not partitioned), and I'm using the overwrite mode along with the replaceWhere clause to overwrite data for city = 'LA' and city = 'NY' in two separate jobs running in parallel. These are writing to same target delta table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the rows are isolated but the table is not partitioned, my question is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Will Delta Lake use deletion vectors or any form of row-level concurrency control to safely handle these parallel overwrite operations specific to overwrite with replaceWhere() clause?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rows are isolated and dont overlap but underlying files might (For NY and LA)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or is there still a risk of file-level conflicts even though the replaceWhere clauses target different cities?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Arnav&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 07:48:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/databricks-free-edition-help/concurrency-in-replacewhere/m-p/125540#M403</guid>
      <dc:creator>arnavsood</dc:creator>
      <dc:date>2025-07-17T07:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Concurrency in replaceWhere()</title>
      <link>https://community.databricks.com/t5/databricks-free-edition-help/concurrency-in-replacewhere/m-p/125634#M410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/175522"&gt;@arnavsood&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;As per my understanding, even if parallel jobs are using overwrite with replaceWhere to update different rows, file-level conflicts can still occur. That’s because Delta Lake doesn’t provide row-level concurrency by default.&lt;/P&gt;&lt;P&gt;Row-level concurrency becomes available when deletion vectors are enabled on a non-partitioned table (or when using liquid clustering), and you're running on Databricks Runtime 14.2 or above.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 16:56:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/databricks-free-edition-help/concurrency-in-replacewhere/m-p/125634#M410</guid>
      <dc:creator>SP_6721</dc:creator>
      <dc:date>2025-07-17T16:56:42Z</dc:date>
    </item>
  </channel>
</rss>

