<?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: Delta Live Table -  Flow detected an update or delete to one or more rows in the source table in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/125364#M47430</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/174781"&gt;@xj2193&lt;/a&gt;&amp;nbsp; I am not sure why you are getting this error, maybe if you could share some code to understand it.&lt;BR /&gt;&lt;BR /&gt;Also, you could consider to use `&lt;SPAN&gt;create_auto_cdc_from_snapshot_flow`&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dlt.create_streaming_table("target")

dlt.create_auto_cdc_from_snapshot_flow(
 target="target",
 source="source",
 keys=["key"],
 stored_as_scd_type=2
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/gcp/en/dlt-ref/dlt-python-ref-apply-changes-from-snapshot" target="_blank"&gt;https://docs.databricks.com/gcp/en/dlt-ref/dlt-python-ref-apply-changes-from-snapshot&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jul 2025 20:03:15 GMT</pubDate>
    <dc:creator>Pat</dc:creator>
    <dc:date>2025-07-15T20:03:15Z</dc:date>
    <item>
      <title>Delta Live Table -  Flow detected an update or delete to one or more rows in the source table</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/73974#M34690</link>
      <description>&lt;P&gt;I have create a pipeline where i am ingesting the data from bronze to silver and using SCD 1, however when i am trying to create gold table as dlt it is giving me error as "&lt;SPAN&gt;Flow 'user_silver' has FAILED fatally. An error occurred because we detected an update or delete to one or more rows in the source table."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#DLT&amp;nbsp; #DeltaLiveTables&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manish1987c_0-1718341166099.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/8596i2D15E28A2E08417E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="manish1987c_0-1718341166099.png" alt="manish1987c_0-1718341166099.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Flow 'gold_table_test' has FAILED fatally. An error occurred because we detected an update or delete to one or more rows in the source table. Streaming tables may only use append-only streaming sources. If you expect to delete or update rows to the source table in the future, please convert table gold_table_test to a materialized view instead of a streaming table. If you are fine to skip changes, set the option 'skipChangeCommits' to 'true'. If you only have a one-time change in the source table and will only have append-only commits from now on, you can perform a full refresh to table gold_table_test to resolve the issue. A Full Refresh will attempt to clear all data from table gold_table_test and then load all data from the streaming source. The non-append change can be found at version 27. Operation: MERGE Username: mk1987c@outlook.com Source table name: silver_load_test&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manish1987c_1-1718341206991.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/8597iC0F8F2921EE50FE1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="manish1987c_1-1718341206991.png" alt="manish1987c_1-1718341206991.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 05:01:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/73974#M34690</guid>
      <dc:creator>manish1987c</dc:creator>
      <dc:date>2024-06-14T05:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Live Table -  Flow detected an update or delete to one or more rows in the source table</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/74072#M34713</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/103335"&gt;@manish1987c&lt;/a&gt;&amp;nbsp;-T&lt;SPAN&gt;he Streaming does not handle input that is not an append.&amp;nbsp;&lt;/SPAN&gt;you can set&amp;nbsp;&lt;SPAN&gt;skipChangeCommits to true&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 19:51:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/74072#M34713</guid>
      <dc:creator>shan_chandra</dc:creator>
      <dc:date>2024-06-14T19:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Live Table -  Flow detected an update or delete to one or more rows in the source table</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/74101#M34724</link>
      <description>&lt;P&gt;Can you please share some sample code... Like how to use it..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jun 2024 04:18:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/74101#M34724</guid>
      <dc:creator>manish1987c</dc:creator>
      <dc:date>2024-06-15T04:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Live Table -  Flow detected an update or delete to one or more rows in the source table</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/124979#M47306</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/103335"&gt;@manish1987c&lt;/a&gt;&amp;nbsp;I developed similar project. I think the issue might because it's a materialized view prior to your last gold layer. The materialized view only contain the most recent records, not the whole logging of the table. I wonder if it works for you to change it to streaming table.&lt;/P&gt;&lt;P&gt;For me, a streaming table doesn't work because I need to apply some window functions to clean the data. I haven't figured out a way to fix this problem.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 20:45:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/124979#M47306</guid>
      <dc:creator>xj2193</dc:creator>
      <dc:date>2025-07-11T20:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Live Table -  Flow detected an update or delete to one or more rows in the source table</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/124982#M47307</link>
      <description>&lt;P&gt;Streaming tables in Delta Live Tables (DLT) only support append-only operations in the SOURCE.&lt;BR /&gt;&lt;BR /&gt;The error occurs because:&lt;/P&gt;&lt;P&gt;1. Your silver table uses SCD Type 1, which performs UPDATE and DELETE operations on existing records&lt;BR /&gt;2. Your gold table is defined as a streaming table, which only supports append-only operations&lt;BR /&gt;3. DLT detected non-append operations (MERGE operations from SCD Type 1) in the source silver table&lt;BR /&gt;&lt;BR /&gt;Change your gold table from a streaming table to a materialized view.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 21:06:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/124982#M47307</guid>
      <dc:creator>Pat</dc:creator>
      <dc:date>2025-07-11T21:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Live Table -  Flow detected an update or delete to one or more rows in the source table</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/125312#M47415</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/59366"&gt;@Pat&lt;/a&gt;&amp;nbsp;thanks for your input! In my use case, I want to apply "&lt;SPAN&gt;create_auto_cdc_flow" on my last table. If I change my last table to be materialized view, I will get an unsupported destination error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;java.lang.IllegalArgumentException: Unsupported destination cdc_notes_silver in flow: &lt;BR /&gt;cdc_notes_silver_merge at transformerWithDestination&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Do you have any suggestion on how to solve this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 13:31:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/125312#M47415</guid>
      <dc:creator>xj2193</dc:creator>
      <dc:date>2025-07-15T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Live Table -  Flow detected an update or delete to one or more rows in the source table</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/125364#M47430</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/174781"&gt;@xj2193&lt;/a&gt;&amp;nbsp; I am not sure why you are getting this error, maybe if you could share some code to understand it.&lt;BR /&gt;&lt;BR /&gt;Also, you could consider to use `&lt;SPAN&gt;create_auto_cdc_from_snapshot_flow`&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dlt.create_streaming_table("target")

dlt.create_auto_cdc_from_snapshot_flow(
 target="target",
 source="source",
 keys=["key"],
 stored_as_scd_type=2
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/gcp/en/dlt-ref/dlt-python-ref-apply-changes-from-snapshot" target="_blank"&gt;https://docs.databricks.com/gcp/en/dlt-ref/dlt-python-ref-apply-changes-from-snapshot&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 20:03:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-table-flow-detected-an-update-or-delete-to-one-or/m-p/125364#M47430</guid>
      <dc:creator>Pat</dc:creator>
      <dc:date>2025-07-15T20:03:15Z</dc:date>
    </item>
  </channel>
</rss>

