<?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: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/148745#M52961</link>
    <description>&lt;P&gt;Hi, Any proper or permanent solution to this?&lt;BR /&gt;&lt;BR /&gt;I too faced this problem, but handled it through retry on ConcurrentAppendException!&lt;/P&gt;&lt;P&gt;Isn't ForEachBatch hard-coded to writeSerializable? And is it really possible to avoid ConcurrentAppendException when two different workflows are writing to the same delta table?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Feb 2026 20:31:49 GMT</pubDate>
    <dc:creator>Kirankumarbs</dc:creator>
    <dc:date>2026-02-18T20:31:49Z</dc:date>
    <item>
      <title>ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurrency</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100027#M40169</link>
      <description>&lt;P&gt;Everytime I run parallel job it always failed with this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;ConcurrentAppendException&lt;/SPAN&gt;&lt;SPAN&gt;: Files were added to the root of the table by a concurrent update. Please try the operation again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I did a lot of reseaches also create liquid clustering table and row level concurrency but it still failed.&lt;/P&gt;&lt;P&gt;Note: I can pass with retry method, but my boss doesn't like that approach. Does anyone can help me on this case?&lt;/P&gt;&lt;P&gt;Thanks you very much!&lt;/P&gt;&lt;P&gt;Please see detailt my table configuration in attachment picture.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 06:39:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100027#M40169</guid>
      <dc:creator>NhanNguyen</dc:creator>
      <dc:date>2024-11-26T06:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100032#M40172</link>
      <description>&lt;P&gt;Note: I tried both DBR 13.3.x and 14.3.x but still failed with same error&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 07:26:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100032#M40172</guid>
      <dc:creator>NhanNguyen</dc:creator>
      <dc:date>2024-11-26T07:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100159#M40205</link>
      <description>&lt;P&gt;See &lt;A href="https://docs.databricks.com/en/optimizations/isolation-level.html#write-conflicts-with-row-level-concurrency" target="_self"&gt;this chart&lt;/A&gt; for a description of how row-level concurrency works. With row-level concurrency, concurrent merge operations still cannot safely modify the same row. Without row-level concurrency, concurrenty merge operations cannot safely modify the same partition.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are two strategies for handling this (there may be more):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;With each merge statement, ensure that you have a disjoint predicate to make sure that only one merge touches a swath of data at a given point in time. For example, we have a table that contains data for many global regions (AMER, EUROPE, ASIA) and we want to concurrently merge into this table. With merge 1, provide&amp;nbsp;&lt;EM&gt;region = 'AMER'&amp;nbsp;&amp;nbsp;&lt;/EM&gt;as an extra predicate. Merge 2, include&amp;nbsp;&lt;EM&gt;region = 'EUROPE'&lt;/EM&gt;, etc.&lt;/LI&gt;
&lt;LI&gt;Union your operations together and avoid the concurrency issue altogether&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please be aware that target tables with identity columns enabled do not support concurrent operations, regardless of disjoint predicates.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 20:46:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100159#M40205</guid>
      <dc:creator>cgrant</dc:creator>
      <dc:date>2024-11-26T20:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100172#M40209</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/33816"&gt;@cgrant&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your checking, Could you please help me review on this?I also did the&amp;nbsp;&lt;SPAN&gt;disjoint predicate here is my condition for merge,&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;'target.ClientCode = source.ClientCode'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;'target.ReportingPeriodCadenceID &amp;lt;=&amp;gt; source.ReportingPeriodCadenceID'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;'target.ReportingPeriodID &amp;lt;=&amp;gt; source.ReportingPeriodID'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;'target.ClientCode = source.ClientCode'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;'target.AccountReferenceID = source.AccountReferenceID'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;'target.ReportingPeriodID = 867'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;"target.ClientCode = 'AMEX'"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;I specific two columns that is clustered by before (&lt;SPAN&gt;'target.ReportingPeriodID = 867'&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;"target.ClientCode = 'AMEX'") but still failed with the same issue.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NhanNguyen_0-1732679527493.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13186i969C37F2D834069D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NhanNguyen_0-1732679527493.png" alt="NhanNguyen_0-1732679527493.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 03:53:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100172#M40209</guid>
      <dc:creator>NhanNguyen</dc:creator>
      <dc:date>2024-11-27T03:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100283#M40255</link>
      <description>&lt;P&gt;What do the other merge commands look like?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 02:10:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100283#M40255</guid>
      <dc:creator>cgrant</dc:creator>
      <dc:date>2024-11-28T02:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100301#M40259</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/33816"&gt;@cgrant&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Here is my full merge and condtion:&lt;/P&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NhanNguyen_0-1732778140343.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13219iDABBD2D036C5B20A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NhanNguyen_0-1732778140343.png" alt="NhanNguyen_0-1732778140343.png" /&gt;&lt;/span&gt;&lt;DIV&gt;Thanks for your reviewing&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Nov 2024 07:16:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100301#M40259</guid>
      <dc:creator>NhanNguyen</dc:creator>
      <dc:date>2024-11-28T07:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100726#M40394</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/33816"&gt;@cgrant&lt;/a&gt;,&lt;BR /&gt;Do you have any update on this? Thanks and very appreciate for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 09:16:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100726#M40394</guid>
      <dc:creator>NhanNguyen</dc:creator>
      <dc:date>2024-12-03T09:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100828#M40434</link>
      <description>&lt;P&gt;Thanks for sharing. In the original screenshots I've noticed that you've set delta.isolationLevel to Serializable, which is the strongest (and most strict) level. Please try WriteSerializable, which is the default level.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 20:55:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100828#M40434</guid>
      <dc:creator>cgrant</dc:creator>
      <dc:date>2024-12-03T20:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100871#M40453</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/33816"&gt;@cgrant&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, I just tried to change delta.isolationLevel to WriteSerilizable but still failed, please view my screentshoot&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NhanNguyen_0-1733301440819.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13314iF33470E0264DEBED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NhanNguyen_0-1733301440819.png" alt="NhanNguyen_0-1733301440819.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 08:37:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/100871#M40453</guid>
      <dc:creator>NhanNguyen</dc:creator>
      <dc:date>2024-12-04T08:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/127745#M48067</link>
      <description>&lt;P&gt;did you ever come up with a solution to this? I am experiencing something similar also with a table that is clustered on two keys.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 00:02:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/127745#M48067</guid>
      <dc:creator>kenmyers-8451</dc:creator>
      <dc:date>2025-08-08T00:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurren</title>
      <link>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/148745#M52961</link>
      <description>&lt;P&gt;Hi, Any proper or permanent solution to this?&lt;BR /&gt;&lt;BR /&gt;I too faced this problem, but handled it through retry on ConcurrentAppendException!&lt;/P&gt;&lt;P&gt;Isn't ForEachBatch hard-coded to writeSerializable? And is it really possible to avoid ConcurrentAppendException when two different workflows are writing to the same delta table?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 20:31:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/concurrentappendexception-after-delta-table-was-enable-liquid/m-p/148745#M52961</guid>
      <dc:creator>Kirankumarbs</dc:creator>
      <dc:date>2026-02-18T20:31:49Z</dc:date>
    </item>
  </channel>
</rss>

