<?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: Transition from partitioned table to Liquid clustered table in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/153959#M54043</link>
    <description>&lt;P&gt;Is there a plan to implement a way to migrate to liquid clustering for an existing table that has traditional partitioning and that is quite large (over 4 TB)? Re-creating such tables from scratch is not always ideal.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2026 16:23:36 GMT</pubDate>
    <dc:creator>biancaorita</dc:creator>
    <dc:date>2026-04-09T16:23:36Z</dc:date>
    <item>
      <title>Transition from partitioned table to Liquid clustered table</title>
      <link>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/110694#M43647</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;I have a table called &lt;SPAN class=""&gt;classes&lt;/SPAN&gt;, which is already partitioned on three different columns. I want to create a &lt;SPAN class=""&gt;&lt;STRONG&gt;Liquid Clustered Table&lt;/STRONG&gt;&lt;/SPAN&gt;, but as far as I understand from the documentation—and from Dany Lee and his team—it was not possible as of 2024&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=5t6wX28JC_M&amp;amp;t=1655s" target="_blank" rel="noopener"&gt;YouTube Video&lt;/A&gt;.&lt;/P&gt;&lt;P class=""&gt;I believe there is still no smooth transition. So, I want to recreate the table, but is the only way to do this by creating a new table, deleting the old one, and moving everything from &lt;SPAN class=""&gt;new_table&lt;/SPAN&gt; to the old table’s location?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;%sql
-- Step1
CREATE TABLE IF NOT EXISTS class_clustered
CLUSTER BY (id, family, result_date)
LOCATION 'my_new_table_location'
AS
SELECT *
FROM class(the main partitioned table);

-- Step2
DROP class

-- Step3
Remove location in dbfs

-- Step4
Move everything from location my_new_table_location --&amp;gt; old location(for class partitioned)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P class=""&gt;Can I overwrite it or do something similar without too much effort? &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; There are more than 20 tables that need to be converted to Liquid Clustered Tables, so I’m looking for the best approach.&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 07:07:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/110694#M43647</guid>
      <dc:creator>mjedy78</dc:creator>
      <dc:date>2025-02-20T07:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Transition from partitioned table to Liquid clustered table</title>
      <link>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/110696#M43648</link>
      <description>&lt;P&gt;You can enable liquid clustering on an existing table:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;ALTER TABLE &amp;lt;table_name&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CLUSTER BY (&amp;lt;clustering_columns&amp;gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;You need to run &lt;SPAN&gt;OPTIMIZE FULL&lt;/SPAN&gt; to force reclustering.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 08:04:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/110696#M43648</guid>
      <dc:creator>MariuszK</dc:creator>
      <dc:date>2025-02-20T08:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Transition from partitioned table to Liquid clustered table</title>
      <link>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/110698#M43649</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/131065"&gt;@MariuszK&lt;/a&gt;&amp;nbsp;It is for normal tables and will not work with the partitioned ones&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mjedy78_0-1740038996897.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14976iAE6946571AF9143C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mjedy78_0-1740038996897.png" alt="mjedy78_0-1740038996897.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 08:10:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/110698#M43649</guid>
      <dc:creator>mjedy78</dc:creator>
      <dc:date>2025-02-20T08:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Transition from partitioned table to Liquid clustered table</title>
      <link>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/110701#M43650</link>
      <description>&lt;P&gt;I'm sorry, I missed that your tables are partitioned, in this case easiest&amp;nbsp; way will be to recreate it.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 08:13:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/110701#M43650</guid>
      <dc:creator>MariuszK</dc:creator>
      <dc:date>2025-02-20T08:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Transition from partitioned table to Liquid clustered table</title>
      <link>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/153959#M54043</link>
      <description>&lt;P&gt;Is there a plan to implement a way to migrate to liquid clustering for an existing table that has traditional partitioning and that is quite large (over 4 TB)? Re-creating such tables from scratch is not always ideal.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 16:23:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/transition-from-partitioned-table-to-liquid-clustered-table/m-p/153959#M54043</guid>
      <dc:creator>biancaorita</dc:creator>
      <dc:date>2026-04-09T16:23:36Z</dc:date>
    </item>
  </channel>
</rss>

