<?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: Unable to update DLT-based materialized view if clustering key is missing in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-update-dlt-based-materialized-view-if-clustering-key/m-p/143352#M52152</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9268"&gt;@Malthe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Currently, there is no supported way to repair broken clustering metadata in Delta materialised views if you remove the clustering key from the definition, other than dropping and recreating the materialised view. Additionally, a full refresh cannot resolve the underlying Delta clustering metadata inconsistency when the clustering key is removed or changed, as fullRefresh is meant for&amp;nbsp;&lt;STRONG data-start="1364" data-end="1388"&gt;recomputing the data&lt;/STRONG&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;not rewriting the MV’s underlying&amp;nbsp;&lt;STRONG&gt;Delta table properties&lt;/STRONG&gt;&amp;nbsp;(such as&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;clustering keys).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I have checked this internally, and it appears to be a known issue that will be resolved and rolled out by the end of January 2026.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jan 2026 14:05:19 GMT</pubDate>
    <dc:creator>K_Anudeep</dc:creator>
    <dc:date>2026-01-08T14:05:19Z</dc:date>
    <item>
      <title>Unable to update DLT-based materialized view if clustering key is missing</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-update-dlt-based-materialized-view-if-clustering-key/m-p/143343#M52148</link>
      <description>&lt;P&gt;If we set up a materialized view with a clustering key, and then update the definition such that this key is no longer part of the table, Databricks complains:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Run ALTER TABLE ... CLUSTER BY ... to repair Delta clustering metadata.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But this is not possible and you can't do a full refresh either. One has to DROP the materialized view and recreate it (i.e. manual repair).&lt;/P&gt;&lt;P&gt;It should be possible to remedy this situation by doing a full refresh.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 13:20:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-update-dlt-based-materialized-view-if-clustering-key/m-p/143343#M52148</guid>
      <dc:creator>Malthe</dc:creator>
      <dc:date>2026-01-08T13:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update DLT-based materialized view if clustering key is missing</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-update-dlt-based-materialized-view-if-clustering-key/m-p/143352#M52152</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9268"&gt;@Malthe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Currently, there is no supported way to repair broken clustering metadata in Delta materialised views if you remove the clustering key from the definition, other than dropping and recreating the materialised view. Additionally, a full refresh cannot resolve the underlying Delta clustering metadata inconsistency when the clustering key is removed or changed, as fullRefresh is meant for&amp;nbsp;&lt;STRONG data-start="1364" data-end="1388"&gt;recomputing the data&lt;/STRONG&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;not rewriting the MV’s underlying&amp;nbsp;&lt;STRONG&gt;Delta table properties&lt;/STRONG&gt;&amp;nbsp;(such as&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;clustering keys).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I have checked this internally, and it appears to be a known issue that will be resolved and rolled out by the end of January 2026.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 14:05:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-update-dlt-based-materialized-view-if-clustering-key/m-p/143352#M52152</guid>
      <dc:creator>K_Anudeep</dc:creator>
      <dc:date>2026-01-08T14:05:19Z</dc:date>
    </item>
  </channel>
</rss>

