<?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: INC_03020207 – History MV fails after adding new column to source PySpark MV in Data &amp; Schema Discussions</title>
    <link>https://community.incorta.com/t5/data-schema-discussions/inc-03020207-history-mv-fails-after-adding-new-column-to-source/m-p/7009#M599</link>
    <description>&lt;P&gt;If you have the historical data produced within the MV, and cannot be reloaded from the source, you can first backup the data using another MV in a full load and modify the MV logic to load from the backup MV with the new column.&amp;nbsp; I assume that you have a logic to deal with the new column for the historical data without going back to the source.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;After the full load that migrate the data from the backup MV, you can change it to a regular full load and you can start accumulate new incremental data.&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;Let us know if you need help&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dylan&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2026 17:18:08 GMT</pubDate>
    <dc:creator>dylanwan</dc:creator>
    <dc:date>2026-04-28T17:18:08Z</dc:date>
    <item>
      <title>INC_03020207 – History MV fails after adding new column to source PySpark MV</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/inc-03020207-history-mv-fails-after-adding-new-column-to-source/m-p/7008#M598</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We are using a PySpark script inside Incorta to call an API and load data into a Materialized View (full load). Since loading this MV directly into a table is not feasible, we store the data in a history Materialized View (incremental mode) to maintain snapshots.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When a new column is added to the source MV, the full load completes successfully; however, the incremental load of the history MV fails with&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;INC_03020207 (schema mismatch)&lt;/STRONG&gt;&lt;SPAN&gt;. Please advise on the recommended approach to handle schema changes in this setup without losing historical data.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 06:50:30 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/inc-03020207-history-mv-fails-after-adding-new-column-to-source/m-p/7008#M598</guid>
      <dc:creator>saiteja1_cdns</dc:creator>
      <dc:date>2026-04-28T06:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: INC_03020207 – History MV fails after adding new column to source PySpark MV</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/inc-03020207-history-mv-fails-after-adding-new-column-to-source/m-p/7009#M599</link>
      <description>&lt;P&gt;If you have the historical data produced within the MV, and cannot be reloaded from the source, you can first backup the data using another MV in a full load and modify the MV logic to load from the backup MV with the new column.&amp;nbsp; I assume that you have a logic to deal with the new column for the historical data without going back to the source.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;After the full load that migrate the data from the backup MV, you can change it to a regular full load and you can start accumulate new incremental data.&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;Let us know if you need help&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dylan&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 17:18:08 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/inc-03020207-history-mv-fails-after-adding-new-column-to-source/m-p/7009#M599</guid>
      <dc:creator>dylanwan</dc:creator>
      <dc:date>2026-04-28T17:18:08Z</dc:date>
    </item>
  </channel>
</rss>

