<?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 tables - ignore updates on some columns in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delta-live-tables-ignore-updates-on-some-columns/m-p/118595#M45662</link>
    <description>&lt;P&gt;I tested adding a column to except_column_list and the behavior I experienced was that the column gets completely dropped from the target.&amp;nbsp; The functionality I need (and what OP is looking for) is for a particular column to be ignored during an update.&lt;BR /&gt;&lt;BR /&gt;I'm quite stuck on this.&lt;/P&gt;</description>
    <pubDate>Fri, 09 May 2025 01:01:25 GMT</pubDate>
    <dc:creator>juice</dc:creator>
    <dc:date>2025-05-09T01:01:25Z</dc:date>
    <item>
      <title>Delta live tables - ignore updates on some columns</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-tables-ignore-updates-on-some-columns/m-p/114799#M44948</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I have scenario where in apply_changes, i want to ignore updates on 1 column. Is there any way we can achieve this in Delta live tables?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 08:31:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-tables-ignore-updates-on-some-columns/m-p/114799#M44948</guid>
      <dc:creator>Anish_2</dc:creator>
      <dc:date>2025-04-08T08:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Delta live tables - ignore updates on some columns</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-tables-ignore-updates-on-some-columns/m-p/114820#M44957</link>
      <description>&lt;P&gt;Hi there&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/124640"&gt;@Anish_2&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;Yes you can do that&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here is the doc link :&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dlt/cdc?language=Python" target="_blank"&gt;https://docs.databricks.com/aws/en/dlt/cdc?language=Python&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For python you can simply add an attribute except_columns_list like this&lt;/P&gt;&lt;LI-CODE lang="python"&gt;dlt.apply_changes(
  target = "target",
  source = "users",
  keys = ["userId"],
  sequence_by = col("sequenceNum"),
  apply_as_deletes = expr("operation = 'DELETE'"),
  apply_as_truncates = expr("operation = 'TRUNCATE'"),
  except_column_list = ["operation", "sequenceNum"],
  stored_as_scd_type = 1
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;and for SQL you can use it like this columns * execpt&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;-- Create a streaming table, then use apply changes into to populate it:
CREATE OR REFRESH STREAMING TABLE target;

APPLY CHANGES INTO target
  FROM stream(cdc_data.users)
  KEYS (userId)
  APPLY AS DELETE WHEN operation = "DELETE"
  SEQUENCE BY sequenceNum
  COLUMNS * EXCEPT (operation, sequenceNum)
  STORED AS SCD TYPE 2
  TRACK HISTORY ON * EXCEPT (city)
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 11:43:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-tables-ignore-updates-on-some-columns/m-p/114820#M44957</guid>
      <dc:creator>ashraf1395</dc:creator>
      <dc:date>2025-04-08T11:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Delta live tables - ignore updates on some columns</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-tables-ignore-updates-on-some-columns/m-p/118595#M45662</link>
      <description>&lt;P&gt;I tested adding a column to except_column_list and the behavior I experienced was that the column gets completely dropped from the target.&amp;nbsp; The functionality I need (and what OP is looking for) is for a particular column to be ignored during an update.&lt;BR /&gt;&lt;BR /&gt;I'm quite stuck on this.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 01:01:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-tables-ignore-updates-on-some-columns/m-p/118595#M45662</guid>
      <dc:creator>juice</dc:creator>
      <dc:date>2025-05-09T01:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Delta live tables - ignore updates on some columns</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-tables-ignore-updates-on-some-columns/m-p/132248#M49404</link>
      <description>&lt;P&gt;Hi, I’m facing a similar issue. Were you able to find a solution to your problem?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 14:35:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-tables-ignore-updates-on-some-columns/m-p/132248#M49404</guid>
      <dc:creator>SaadhikaB</dc:creator>
      <dc:date>2025-09-17T14:35:19Z</dc:date>
    </item>
  </channel>
</rss>

