<?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: APPLY AS DELETE without operation in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/apply-as-delete-without-operation/m-p/101286#M40616</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;is it possible to do directly in Silver layer? We do not have option to go fo Gold layer. I tried to create a TEMP VIEW in Silver DLT pipeline but it gives error for circular dependency as I am comparing data from Silver it self and also creating it in same script.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2024 20:58:57 GMT</pubDate>
    <dc:creator>smit_tw</dc:creator>
    <dc:date>2024-12-06T20:58:57Z</dc:date>
    <item>
      <title>APPLY AS DELETE without operation</title>
      <link>https://community.databricks.com/t5/data-engineering/apply-as-delete-without-operation/m-p/101270#M40609</link>
      <description>&lt;P&gt;We are performing a full load of API data into the Bronze table (append only), and then using the APPLY CHANGES INTO query to move data from Bronze to Silver using Stream to get only new records. How can we also utilize the APPLY AS DELETE functionality with a condition to mark records as deleted when their corresponding ID no longer exists in the New Bronze Streaming data?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;On Day 1, the Bronze table contains IDs: 1 to 5, and the Silver table will have IDs: 1 to 5.&lt;/LI&gt;&lt;LI&gt;On Day 2, the Bronze table contains IDs: 1 to 4 and 6.&lt;UL&gt;&lt;LI&gt;In this case, the Silver table should add ID 6, and mark ID 5 as deleted (using the __END_AT field).&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;How can we achieve this behavior using APPLY CHANGES INTO in Databricks?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 16:49:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/apply-as-delete-without-operation/m-p/101270#M40609</guid>
      <dc:creator>smit_tw</dc:creator>
      <dc:date>2024-12-06T16:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: APPLY AS DELETE without operation</title>
      <link>https://community.databricks.com/t5/data-engineering/apply-as-delete-without-operation/m-p/101275#M40611</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133875"&gt;@smit_tw&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Take a look at below article:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/t5/technical-blog/propagating-deletes-managing-data-removal-using-delta-live/ba-p/90978" target="_blank"&gt;Propagating Deletes: Managing Data Removal using D... - Databricks Community - 90978&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 17:33:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/apply-as-delete-without-operation/m-p/101275#M40611</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-12-06T17:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: APPLY AS DELETE without operation</title>
      <link>https://community.databricks.com/t5/data-engineering/apply-as-delete-without-operation/m-p/101286#M40616</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;is it possible to do directly in Silver layer? We do not have option to go fo Gold layer. I tried to create a TEMP VIEW in Silver DLT pipeline but it gives error for circular dependency as I am comparing data from Silver it self and also creating it in same script.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 20:58:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/apply-as-delete-without-operation/m-p/101286#M40616</guid>
      <dc:creator>smit_tw</dc:creator>
      <dc:date>2024-12-06T20:58:57Z</dc:date>
    </item>
  </channel>
</rss>

