<?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 Getting concurrent Append exception after upgrading to 14.3 runtime LTS in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/getting-concurrent-append-exception-after-upgrading-to-14-3/m-p/76521#M35242</link>
    <description>&lt;P&gt;Hi. I have upgraded to 14.3 recently and facing the same issue in production.&lt;/P&gt;&lt;P&gt;The below is my update statement&lt;/P&gt;&lt;P&gt;UPDATE&amp;nbsp;table1&amp;nbsp;&lt;BR /&gt;SET starttime = getArgument("time1"), endtime = null &amp;nbsp;&lt;BR /&gt;WHERE ConnectionID=getArgument("ConnectionInfo") AND GroupName = getArgument("JobGroup")&lt;BR /&gt;&amp;nbsp; &amp;nbsp; AND EXISTS (SELECT date FROM table1 WHERE ConnectionID=getArgument("ConnectionInfo") AND GroupName = getArgument("JobGroup") AND endtime IS NOT NULL AND getArgument("RunType") = 'start')&lt;BR /&gt;&amp;nbsp; &amp;nbsp; AND IsSyncRequired = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is the error we are facing :&lt;/P&gt;&lt;P&gt;"runError": "ConcurrentAppendException: Files were added to partition [ConnectionID=con1, GroupName=group2] by a concurrent update. Please try the operation again.&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"timestamp": 1719876118108,&lt;BR /&gt;"userId": "7939453779672853",&lt;BR /&gt;"userName": "x",&lt;BR /&gt;"operation": "UPDATE",&lt;BR /&gt;"operationParameters": {&lt;BR /&gt;"predicate": [&lt;BR /&gt;"(((ConnectionID#99116459 = getArgument(ConnectionInfo)) AND (GroupName#99116455 = getArgument(JobGroup))) AND (isnotnull(scalar-subquery#99116271 []) AND IsSyncRequired#99116460))"&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;"job": {&lt;BR /&gt;"jobId": "x",&lt;BR /&gt;"jobName": "x",&lt;BR /&gt;"runId": "x",&lt;BR /&gt;"jobOwnerId": "x",&lt;BR /&gt;"triggerType": "manual"&lt;BR /&gt;},&lt;BR /&gt;"notebook": {&lt;BR /&gt;"notebookId": "x"&lt;BR /&gt;},&lt;BR /&gt;"clusterId": "x",&lt;BR /&gt;"readVersion": 1513710,&lt;BR /&gt;"isolationLevel": "WriteSerializable",&lt;BR /&gt;"isBlindAppend": false,&lt;BR /&gt;"operationMetrics": {&lt;BR /&gt;"numRemovedFiles": "1",&lt;BR /&gt;"numRemovedBytes": "1732",&lt;BR /&gt;"numCopiedRows": "0",&lt;BR /&gt;"numDeletionVectorsAdded": "0",&lt;BR /&gt;"numDeletionVectorsRemoved": "0",&lt;BR /&gt;"numAddedChangeFiles": "0",&lt;BR /&gt;"executionTimeMs": "9837",&lt;BR /&gt;"numDeletionVectorsUpdated": "0",&lt;BR /&gt;"scanTimeMs": "7487",&lt;BR /&gt;"numAddedFiles": "1",&lt;BR /&gt;"numUpdatedRows": "1",&lt;BR /&gt;"numAddedBytes": "1631",&lt;BR /&gt;"rewriteTimeMs": "2309"&lt;BR /&gt;},&lt;BR /&gt;"tags": {&lt;BR /&gt;"noRowsCopied": "false",&lt;BR /&gt;"delta.rowTracking.preserved": "false",&lt;BR /&gt;"restoresDeletedRows": "false"&lt;BR /&gt;},&lt;BR /&gt;"engineInfo": "Databricks-Runtime/14.3.x-scala2.12",&lt;BR /&gt;"txnId": "xx"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Please note that my group1 update is failing with error on group2 conflicting commit when ideally both of them should go to different partitions.&lt;/P&gt;&lt;P&gt;The partition columns are both ConnectionID and GroupName.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please help me understand when my where clause specifies both, why is it still giving me ConcurrentAppendException?&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 14:11:13 GMT</pubDate>
    <dc:creator>Dilisha</dc:creator>
    <dc:date>2024-07-02T14:11:13Z</dc:date>
    <item>
      <title>Getting concurrent Append exception after upgrading to 14.3 runtime LTS</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-concurrent-append-exception-after-upgrading-to-14-3/m-p/76521#M35242</link>
      <description>&lt;P&gt;Hi. I have upgraded to 14.3 recently and facing the same issue in production.&lt;/P&gt;&lt;P&gt;The below is my update statement&lt;/P&gt;&lt;P&gt;UPDATE&amp;nbsp;table1&amp;nbsp;&lt;BR /&gt;SET starttime = getArgument("time1"), endtime = null &amp;nbsp;&lt;BR /&gt;WHERE ConnectionID=getArgument("ConnectionInfo") AND GroupName = getArgument("JobGroup")&lt;BR /&gt;&amp;nbsp; &amp;nbsp; AND EXISTS (SELECT date FROM table1 WHERE ConnectionID=getArgument("ConnectionInfo") AND GroupName = getArgument("JobGroup") AND endtime IS NOT NULL AND getArgument("RunType") = 'start')&lt;BR /&gt;&amp;nbsp; &amp;nbsp; AND IsSyncRequired = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is the error we are facing :&lt;/P&gt;&lt;P&gt;"runError": "ConcurrentAppendException: Files were added to partition [ConnectionID=con1, GroupName=group2] by a concurrent update. Please try the operation again.&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"timestamp": 1719876118108,&lt;BR /&gt;"userId": "7939453779672853",&lt;BR /&gt;"userName": "x",&lt;BR /&gt;"operation": "UPDATE",&lt;BR /&gt;"operationParameters": {&lt;BR /&gt;"predicate": [&lt;BR /&gt;"(((ConnectionID#99116459 = getArgument(ConnectionInfo)) AND (GroupName#99116455 = getArgument(JobGroup))) AND (isnotnull(scalar-subquery#99116271 []) AND IsSyncRequired#99116460))"&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;"job": {&lt;BR /&gt;"jobId": "x",&lt;BR /&gt;"jobName": "x",&lt;BR /&gt;"runId": "x",&lt;BR /&gt;"jobOwnerId": "x",&lt;BR /&gt;"triggerType": "manual"&lt;BR /&gt;},&lt;BR /&gt;"notebook": {&lt;BR /&gt;"notebookId": "x"&lt;BR /&gt;},&lt;BR /&gt;"clusterId": "x",&lt;BR /&gt;"readVersion": 1513710,&lt;BR /&gt;"isolationLevel": "WriteSerializable",&lt;BR /&gt;"isBlindAppend": false,&lt;BR /&gt;"operationMetrics": {&lt;BR /&gt;"numRemovedFiles": "1",&lt;BR /&gt;"numRemovedBytes": "1732",&lt;BR /&gt;"numCopiedRows": "0",&lt;BR /&gt;"numDeletionVectorsAdded": "0",&lt;BR /&gt;"numDeletionVectorsRemoved": "0",&lt;BR /&gt;"numAddedChangeFiles": "0",&lt;BR /&gt;"executionTimeMs": "9837",&lt;BR /&gt;"numDeletionVectorsUpdated": "0",&lt;BR /&gt;"scanTimeMs": "7487",&lt;BR /&gt;"numAddedFiles": "1",&lt;BR /&gt;"numUpdatedRows": "1",&lt;BR /&gt;"numAddedBytes": "1631",&lt;BR /&gt;"rewriteTimeMs": "2309"&lt;BR /&gt;},&lt;BR /&gt;"tags": {&lt;BR /&gt;"noRowsCopied": "false",&lt;BR /&gt;"delta.rowTracking.preserved": "false",&lt;BR /&gt;"restoresDeletedRows": "false"&lt;BR /&gt;},&lt;BR /&gt;"engineInfo": "Databricks-Runtime/14.3.x-scala2.12",&lt;BR /&gt;"txnId": "xx"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Please note that my group1 update is failing with error on group2 conflicting commit when ideally both of them should go to different partitions.&lt;/P&gt;&lt;P&gt;The partition columns are both ConnectionID and GroupName.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please help me understand when my where clause specifies both, why is it still giving me ConcurrentAppendException?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:11:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-concurrent-append-exception-after-upgrading-to-14-3/m-p/76521#M35242</guid>
      <dc:creator>Dilisha</dc:creator>
      <dc:date>2024-07-02T14:11:13Z</dc:date>
    </item>
  </channel>
</rss>

