<?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 Can we get the snapshot of the change data feed tables at a given time? in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/can-we-get-the-snapshot-of-the-change-data-feed-tables-at-a/m-p/70593#M1838</link>
    <description>&lt;P&gt;We are trying to build the history snapshot for data that we are ingested in the delta tables. We are exploring different option like &lt;STRONG&gt;delta history,&lt;/STRONG&gt; &lt;STRONG&gt;change data feed&lt;/STRONG&gt; and&lt;STRONG&gt; dbt snapshot.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;This Question is particularly about the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/en/delta/delta-change-data-feed.html" target="_blank" rel="noopener"&gt;change data feed&lt;/A&gt;. So I want to know that by CDF can we get the changes in table whether is delete, update or insert.&lt;/P&gt;&lt;P&gt;But we need to the get snapshot of table at given time not just the changes. Is there any thing that can be done to achieve this via CDF.&lt;BR /&gt;&lt;BR /&gt;Also if CDF is the correct approach for getting snapshot of the table in the history.&lt;BR /&gt;&lt;BR /&gt;What will be the recommendation from Databricks about how we can achieve functionality to get snapshot of the table in the history.&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2024 15:01:01 GMT</pubDate>
    <dc:creator>manjeettanwar10</dc:creator>
    <dc:date>2024-05-24T15:01:01Z</dc:date>
    <item>
      <title>Can we get the snapshot of the change data feed tables at a given time?</title>
      <link>https://community.databricks.com/t5/data-governance/can-we-get-the-snapshot-of-the-change-data-feed-tables-at-a/m-p/70593#M1838</link>
      <description>&lt;P&gt;We are trying to build the history snapshot for data that we are ingested in the delta tables. We are exploring different option like &lt;STRONG&gt;delta history,&lt;/STRONG&gt; &lt;STRONG&gt;change data feed&lt;/STRONG&gt; and&lt;STRONG&gt; dbt snapshot.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;This Question is particularly about the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/en/delta/delta-change-data-feed.html" target="_blank" rel="noopener"&gt;change data feed&lt;/A&gt;. So I want to know that by CDF can we get the changes in table whether is delete, update or insert.&lt;/P&gt;&lt;P&gt;But we need to the get snapshot of table at given time not just the changes. Is there any thing that can be done to achieve this via CDF.&lt;BR /&gt;&lt;BR /&gt;Also if CDF is the correct approach for getting snapshot of the table in the history.&lt;BR /&gt;&lt;BR /&gt;What will be the recommendation from Databricks about how we can achieve functionality to get snapshot of the table in the history.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 15:01:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/can-we-get-the-snapshot-of-the-change-data-feed-tables-at-a/m-p/70593#M1838</guid>
      <dc:creator>manjeettanwar10</dc:creator>
      <dc:date>2024-05-24T15:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get the snapshot of the change data feed tables at a given time?</title>
      <link>https://community.databricks.com/t5/data-governance/can-we-get-the-snapshot-of-the-change-data-feed-tables-at-a/m-p/70779#M1840</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/105701"&gt;@manjeettanwar10&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://docs.databricks.com/en/delta/history.html" target="_self"&gt;Delta History&lt;/A&gt; API allows you to view the logs of all SQL statements executed on your table, including UPDATE, DELETE, and INSERT commands. When used in conjunction with &lt;A href="https://docs.databricks.com/en/delta/history.html#examples-of-using-delta-lake-time-travel" target="_blank"&gt;Delta's Time Travel&lt;/A&gt; features, it's possible to retrieve the Delta table and data in a previous state, as long as &lt;A href="https://docs.databricks.com/en/delta/history.html#configure-data-retention-for-time-travel-queries" target="_self"&gt;data retention periods&lt;/A&gt; are respected.&lt;/P&gt;
&lt;P&gt;Alternatively, &lt;A href="https://docs.databricks.com/en/delta/delta-change-data-feed.html" target="_blank"&gt;Change Data Feed&lt;/A&gt; can also be used to monitor the state of data and changes. One of the differences is that CDF captures data values, while Delta History displays the SQL statement history and predicates, but not the actual data values.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As described at&amp;nbsp;&lt;A href="https://docs.databricks.com/en/delta/delta-change-data-feed.html" target="_blank"&gt;Change Data Feed&lt;/A&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;"Change data feed works in tandem with table history to provide change information. Because cloning a Delta table creates a separate history, the change data feed on cloned tables doesn’t match that of the original table."&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 17:39:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/can-we-get-the-snapshot-of-the-change-data-feed-tables-at-a/m-p/70779#M1840</guid>
      <dc:creator>raphaelblg</dc:creator>
      <dc:date>2024-05-27T17:39:46Z</dc:date>
    </item>
  </channel>
</rss>

