<?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 how to stream change feed from delta table when its schema is changed? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-stream-change-feed-from-delta-table-when-its-schema-is/m-p/53124#M29691</link>
    <description>&lt;P&gt;Hi Team,&lt;BR /&gt;I would like to know how we can continue streaming change data feed from a delta table when its schema is changed ( non-additive schema changes like drop/rename column / schema migration ).&lt;/P&gt;&lt;P&gt;I came across&amp;nbsp;&lt;SPAN&gt;schemaTrackingLocation in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;readStream but not sure how to use it for continue streaming the change feeds. I am using Delta Lake v3.0 and Databricks 14.0.&lt;BR /&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2023 14:00:22 GMT</pubDate>
    <dc:creator>raghav99</dc:creator>
    <dc:date>2023-11-20T14:00:22Z</dc:date>
    <item>
      <title>how to stream change feed from delta table when its schema is changed?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-stream-change-feed-from-delta-table-when-its-schema-is/m-p/53124#M29691</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;I would like to know how we can continue streaming change data feed from a delta table when its schema is changed ( non-additive schema changes like drop/rename column / schema migration ).&lt;/P&gt;&lt;P&gt;I came across&amp;nbsp;&lt;SPAN&gt;schemaTrackingLocation in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;readStream but not sure how to use it for continue streaming the change feeds. I am using Delta Lake v3.0 and Databricks 14.0.&lt;BR /&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 14:00:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-stream-change-feed-from-delta-table-when-its-schema-is/m-p/53124#M29691</guid>
      <dc:creator>raghav99</dc:creator>
      <dc:date>2023-11-20T14:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to stream change feed from delta table when its schema is changed?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-stream-change-feed-from-delta-table-when-its-schema-is/m-p/53596#M29837</link>
      <description>&lt;P&gt;Thank you for the response&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;So lets consider one or many schema changes per table. It can be combinations of drop , rename column , add new column and updating column's datatype, etc.&lt;BR /&gt;I am using schemaTrackingLocation and have observed stream breaking with StreamingQueryException.&lt;BR /&gt;It updates the schema tracking log but since it has multiple schema changes , I have to rerun the stream multiple times to keep on updating the schema tracking maybe because there are lots of schema updates happened on the table while doing these migration combinations.&lt;BR /&gt;&lt;BR /&gt;I am not sure how many times I need to re-trigger the stream to get it to final updated schema on my schemaTrackingLocation.&amp;nbsp;&lt;BR /&gt;So is this an expected behaviour or a bug ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I was under impression looking at the docs that with schemaTrackingLocation enabled , stream doesn't fail and it will keep on updating and picking up the right schema from source table.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 08:40:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-stream-change-feed-from-delta-table-when-its-schema-is/m-p/53596#M29837</guid>
      <dc:creator>raghav99</dc:creator>
      <dc:date>2023-11-23T08:40:37Z</dc:date>
    </item>
  </channel>
</rss>

