<?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 How to avoid duplicate records when repairing failed Databricks Jobs? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-avoid-duplicate-records-when-repairing-failed-databricks/m-p/177907#M57416</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Suppose a job task successfully writes records to a Delta table but fails while performing a subsequent operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When we repair the job, the failed task executes again and potentially inserts the same records.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do you normally handle such situations in production pipelines?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is using MERGE instead of append sufficient, or would you recommend maintaining a separate audit table to track completed operations?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Nov 2026 10:13:48 GMT</pubDate>
    <dc:creator>alondatamvp</dc:creator>
    <dc:date>2026-11-28T10:13:48Z</dc:date>
    <item>
      <title>How to avoid duplicate records when repairing failed Databricks Jobs?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-avoid-duplicate-records-when-repairing-failed-databricks/m-p/177907#M57416</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Suppose a job task successfully writes records to a Delta table but fails while performing a subsequent operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When we repair the job, the failed task executes again and potentially inserts the same records.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do you normally handle such situations in production pipelines?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is using MERGE instead of append sufficient, or would you recommend maintaining a separate audit table to track completed operations?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2026 10:13:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-avoid-duplicate-records-when-repairing-failed-databricks/m-p/177907#M57416</guid>
      <dc:creator>alondatamvp</dc:creator>
      <dc:date>2026-11-28T10:13:48Z</dc:date>
    </item>
  </channel>
</rss>

