<?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 Conflicting with predictive optimization. in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/conflicting-with-predictive-optimization/m-p/148617#M4892</link>
    <description>&lt;P&gt;Hi. We have a continuous DLT pipeline with tables updating every minute and partitioned by partition_key column. Every 3-5 days, we encounter a below conflict error caused by predictive optimization. The pipeline runs fine after restarting, but I need a solution that doesn't require restarts or disabling predictive optimization. Thanks for any help.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[DELTA_METADATA_CHANGED] MetadataChangedException: The metadata of the Delta table has been changed by a concurrent update. Please try the operation again. Conflicting commit: {"timestamp":1771277469269,"userId":"8958709470301504","userName":"71346d5e-590c-49c0-9e13-e01e19f3ddca","operation":"SET TBLPROPERTIES","operationParameters":{"properties":{"delta.workloadBasedColumns.optimizerStatistics":"`partition_key`"}},"job":{"jobId":"52114596145184","jobName":"Predictive Optimization Job-d453e56b-97f1-425d-a33d-841bd8a3771f","jobRunId":"33557931172597","runId":"623858441565966","jobOwnerId":"8958709470301504","triggerType":"manual"},"clusterId":"0216-212153-y6seouuh-v2n","readVersion":247493,"isolationLevel":"WriteSerializable","isBlindAppend":true,"operationMetrics":{},"tags":{"maintenance":"true","delta.rowTracking.preserved":"true"},"engineInfo":"Databricks-Runtime/18.0.x-aarch64-photon-scala2.13","txnId":"a72c1747-833f-4223-8bd6-7fd61cc2aecf"} Refer to &lt;A href="https://docs.databricks.com/delta/concurrency-control.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/delta/concurrency-control.html&lt;/A&gt; for more details.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Feb 2026 15:23:59 GMT</pubDate>
    <dc:creator>iercan06</dc:creator>
    <dc:date>2026-02-17T15:23:59Z</dc:date>
    <item>
      <title>Conflicting with predictive optimization.</title>
      <link>https://community.databricks.com/t5/administration-architecture/conflicting-with-predictive-optimization/m-p/148617#M4892</link>
      <description>&lt;P&gt;Hi. We have a continuous DLT pipeline with tables updating every minute and partitioned by partition_key column. Every 3-5 days, we encounter a below conflict error caused by predictive optimization. The pipeline runs fine after restarting, but I need a solution that doesn't require restarts or disabling predictive optimization. Thanks for any help.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[DELTA_METADATA_CHANGED] MetadataChangedException: The metadata of the Delta table has been changed by a concurrent update. Please try the operation again. Conflicting commit: {"timestamp":1771277469269,"userId":"8958709470301504","userName":"71346d5e-590c-49c0-9e13-e01e19f3ddca","operation":"SET TBLPROPERTIES","operationParameters":{"properties":{"delta.workloadBasedColumns.optimizerStatistics":"`partition_key`"}},"job":{"jobId":"52114596145184","jobName":"Predictive Optimization Job-d453e56b-97f1-425d-a33d-841bd8a3771f","jobRunId":"33557931172597","runId":"623858441565966","jobOwnerId":"8958709470301504","triggerType":"manual"},"clusterId":"0216-212153-y6seouuh-v2n","readVersion":247493,"isolationLevel":"WriteSerializable","isBlindAppend":true,"operationMetrics":{},"tags":{"maintenance":"true","delta.rowTracking.preserved":"true"},"engineInfo":"Databricks-Runtime/18.0.x-aarch64-photon-scala2.13","txnId":"a72c1747-833f-4223-8bd6-7fd61cc2aecf"} Refer to &lt;A href="https://docs.databricks.com/delta/concurrency-control.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/delta/concurrency-control.html&lt;/A&gt; for more details.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2026 15:23:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/conflicting-with-predictive-optimization/m-p/148617#M4892</guid>
      <dc:creator>iercan06</dc:creator>
      <dc:date>2026-02-17T15:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Conflicting with predictive optimization.</title>
      <link>https://community.databricks.com/t5/administration-architecture/conflicting-with-predictive-optimization/m-p/150529#M5004</link>
      <description>&lt;P&gt;Here is a similar community post talking about the same issue -&amp;nbsp;&lt;A href="https://community.databricks.com/t5/data-engineering/conflict-between-predictive-optimization-and-high-frequency/m-p/149881/highlight/true" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/conflict-between-predictive-optimization-and-high-frequency/m-p/149881/highlight/true&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 03:36:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/conflicting-with-predictive-optimization/m-p/150529#M5004</guid>
      <dc:creator>pradeep_singh</dc:creator>
      <dc:date>2026-03-11T03:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Conflicting with predictive optimization.</title>
      <link>https://community.databricks.com/t5/administration-architecture/conflicting-with-predictive-optimization/m-p/150533#M5005</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the error message i see who is causing the issue:&amp;nbsp;&lt;SPAN&gt;Predictive Optimization Job-d453e56b-97f1-425d-a33d-841bd8a3771f. This is a classic Optimistic Concurrency Issue!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What's happening is predictive optimization runs a background job that sets table properties (in your case, delta.workloadBasedColumns.optimizerStatistics) to record optimizer statistics. That's a metadata write. Your continuous pipeline is also writing to the same table roughly every minute. When both try to commit around the same time, you get a DELTA_METADATA_CHANGED conflict because Delta uses optimistic concurrency, if the metadata version changed between when your pipeline read it and when it tries to commit, it throws this error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;You can exclude just the specific tables that are written to by your continuous pipeline from predictive optimization, while keeping it enabled for everything else. You do this at the table level:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;ALTER&lt;/SPAN&gt; &lt;SPAN class=""&gt;TABLE&lt;/SPAN&gt; your_catalog&lt;SPAN class=""&gt;.&lt;/SPAN&gt;your_schema&lt;SPAN class=""&gt;.&lt;/SPAN&gt;your_table&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;SET&lt;/SPAN&gt; TBLPROPERTIES &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;'delta.enablePredictiveOptimization'&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;'false'&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;This is probably the cleanest fix. Your continuous tables don't benefit much from predictive optimization anyway, since DLT handles compaction and optimization on its own for managed streaming tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 06:47:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/conflicting-with-predictive-optimization/m-p/150533#M5005</guid>
      <dc:creator>Kirankumarbs</dc:creator>
      <dc:date>2026-03-11T06:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conflicting with predictive optimization.</title>
      <link>https://community.databricks.com/t5/administration-architecture/conflicting-with-predictive-optimization/m-p/150536#M5006</link>
      <description>&lt;P&gt;My question was marked as spam that's why my colleague has sent it again. Sorry for duplication.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 06:57:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/conflicting-with-predictive-optimization/m-p/150536#M5006</guid>
      <dc:creator>iercan06</dc:creator>
      <dc:date>2026-03-11T06:57:21Z</dc:date>
    </item>
  </channel>
</rss>

