<?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: DLT pipeline - SCD type 2 in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/83578#M36960</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/79172"&gt;@Rishabh-Pandey&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I completely missed your message. At the end we decided not to use SCD 2, so I don't have any more data related to this query.&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ksenija&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 09:50:14 GMT</pubDate>
    <dc:creator>ksenija</dc:creator>
    <dc:date>2024-08-20T09:50:14Z</dc:date>
    <item>
      <title>DLT pipeline - SCD type 2</title>
      <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/80093#M35924</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I created my table using SCD type 2 in SQL. I need to do full refresh to load all of the data. Whenever I update data in my&amp;nbsp;source table, in my new table&amp;nbsp;scd_target I see only the latest record, history is not being saved.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;OR&lt;/SPAN&gt; &lt;SPAN&gt;REFRESH&lt;/SPAN&gt;&lt;SPAN&gt; STREAMING &lt;/SPAN&gt;&lt;SPAN&gt;TABLE&lt;/SPAN&gt;&lt;SPAN&gt; scd_target;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;APPLY&lt;/SPAN&gt; &lt;SPAN&gt;CHANGES&lt;/SPAN&gt; &lt;SPAN&gt;INTO&lt;/SPAN&gt; &lt;SPAN&gt;live&lt;/SPAN&gt;&lt;SPAN&gt;.scd_target&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;surname,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;updated_at&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;SPAN&gt; stream(&lt;/SPAN&gt;&lt;SPAN&gt;sources_test&lt;/SPAN&gt;&lt;SPAN&gt;.sources_test&lt;/SPAN&gt;&lt;SPAN&gt;.source)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;KEYS&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SEQUENCE&lt;/SPAN&gt; &lt;SPAN&gt;BY&lt;/SPAN&gt;&lt;SPAN&gt; updated_at&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;STORED&lt;/SPAN&gt; &lt;SPAN&gt;AS&lt;/SPAN&gt;&lt;SPAN&gt; SCD &lt;/SPAN&gt;&lt;SPAN&gt;TYPE&lt;/SPAN&gt; &lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I need to use SQL since we are using it for other stuff in DLT pipeline&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jul 2024 08:49:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/80093#M35924</guid>
      <dc:creator>ksenija</dc:creator>
      <dc:date>2024-07-23T08:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: DLT pipeline - SCD type 2</title>
      <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/80100#M35930</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/96755"&gt;@ksenija&lt;/a&gt;&amp;nbsp; i got your use case but could you please tell me , what do you mean by "&lt;SPAN&gt;sources_test&lt;/SPAN&gt;&lt;SPAN&gt;.sources_test&lt;/SPAN&gt;&lt;SPAN&gt;.source"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 09:23:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/80100#M35930</guid>
      <dc:creator>Rishabh-Pandey</dc:creator>
      <dc:date>2024-07-23T09:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: DLT pipeline - SCD type 2</title>
      <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/80515#M36047</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/79172"&gt;@Rishabh-Pandey&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Those are my catalog, schema and external table&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 09:38:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/80515#M36047</guid>
      <dc:creator>ksenija</dc:creator>
      <dc:date>2024-07-25T09:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: DLT pipeline - SCD type 2</title>
      <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/80516#M36048</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I still don't have a solution for my problem, so I still don't want to close this conversation.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ksenija&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 09:39:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/80516#M36048</guid>
      <dc:creator>ksenija</dc:creator>
      <dc:date>2024-07-25T09:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: DLT pipeline - SCD type 2</title>
      <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/80521#M36053</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/96755"&gt;@ksenija&lt;/a&gt;&amp;nbsp;The logic which you were using is correct from my side , i am still wondering what this is happening so if possible can you please drop the checkpoints paths and tables and recreate the tables to check once or you can provide me with some screen shots if possible .&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 10:19:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/80521#M36053</guid>
      <dc:creator>Rishabh-Pandey</dc:creator>
      <dc:date>2024-07-25T10:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: DLT pipeline - SCD type 2</title>
      <link>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/83578#M36960</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/79172"&gt;@Rishabh-Pandey&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I completely missed your message. At the end we decided not to use SCD 2, so I don't have any more data related to this query.&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ksenija&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 09:50:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dlt-pipeline-scd-type-2/m-p/83578#M36960</guid>
      <dc:creator>ksenija</dc:creator>
      <dc:date>2024-08-20T09:50:14Z</dc:date>
    </item>
  </channel>
</rss>

