<?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: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314562#M2186</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565231" data-lia-user-login="datakulture" class="lia-mention lia-mention-user"&gt;datakulture&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Delta tables have version mechanism and that is how it supports this feature -&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/time-travel" target="_blank"&gt;Time travel in Warehouse within Microsoft Fabric - Microsoft Fabric | Microsoft Learn.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using time travel feature, you can query and clone data as it was in the past with a limit of upto 30 days. So the retention time is 30 days. While in Lakehouse you can manually run VACUUM to clear up the old files with whichever retention period you need but in Warehouse currently it is not possible.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2024 05:37:22 GMT</pubDate>
    <dc:creator>govindarajan_d</dc:creator>
    <dc:date>2024-12-05T05:37:22Z</dc:date>
    <item>
      <title>Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4313750#M2178</link>
      <description>&lt;DIV&gt;Hi team,&lt;/DIV&gt;&lt;DIV&gt;I hope this email finds you well.&lt;/DIV&gt;&lt;DIV&gt;I am encountering an issue in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;MS Fabric Warehouse&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;where old Parquet files are not being deleted after executing an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;INSERT OVERWRITE&amp;nbsp;( Delete &amp;amp; Insert) operation. Instead of replacing the existing data, the new files are created alongside the old ones, resulting in redundant storage.&lt;/DIV&gt;&lt;DIV&gt;Could you please investigate this issue and clarify:&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;Is this the expected behavior for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;INSERT OVERWRITE&amp;nbsp;in the Warehouse?&lt;/LI&gt;&lt;LI&gt;If not, how can we ensure that old Parquet files are cleaned up automatically after an overwrite?&lt;/LI&gt;&lt;LI&gt;Are there any recommended workarounds or configurations to address this issue?&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;Let me know if you need further details or logs to assist with the investigation.&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Dec 2024 15:35:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4313750#M2178</guid>
      <dc:creator>datakulture</dc:creator>
      <dc:date>2024-12-04T15:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314033#M2180</link>
      <description>&lt;P&gt;Are you sure this is a Warehouse issue?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.mssqltips.com/sqlservertip/7989/microsoft-fabric-lakehouse-optimize-and-vacuum-for-table-maintenance/" target="_blank"&gt;Microsoft Fabric Lakehouse OPTIMIZE and VACUUM for Table Maintenance&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 20:48:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314033#M2180</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-12-04T20:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314447#M2184</link>
      <description>&lt;P&gt;Yes it's a MS Fabric warehouse issue.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 04:17:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314447#M2184</guid>
      <dc:creator>datakulture</dc:creator>
      <dc:date>2024-12-05T04:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314450#M2185</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a warehousing problem only. I'm having the identical storage problem with my ongoing project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 04:19:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314450#M2185</guid>
      <dc:creator>Kanna123</dc:creator>
      <dc:date>2024-12-05T04:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314562#M2186</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565231" data-lia-user-login="datakulture" class="lia-mention lia-mention-user"&gt;datakulture&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Delta tables have version mechanism and that is how it supports this feature -&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/time-travel" target="_blank"&gt;Time travel in Warehouse within Microsoft Fabric - Microsoft Fabric | Microsoft Learn.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using time travel feature, you can query and clone data as it was in the past with a limit of upto 30 days. So the retention time is 30 days. While in Lakehouse you can manually run VACUUM to clear up the old files with whichever retention period you need but in Warehouse currently it is not possible.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 05:37:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314562#M2186</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-12-05T05:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314657#M2187</link>
      <description>&lt;P&gt;Thank&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="644992" data-lia-user-login="govindarajan_d" class="lia-mention lia-mention-user"&gt;govindarajan_d&lt;/a&gt;&amp;nbsp;for the valuable insights and document link.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my understanding:&lt;/P&gt;
&lt;P&gt;This is expected behavior from the perspective of delta tables and parquet files. Because the parquet file cannot be modified, all operations on the data, including inserts, deletes, and updates, will generate new parquet files instead of updating the existing parquet file.&amp;nbsp;Meanwhile, due to the time travel function, old parquet files cannot be deleted, making it possible to &lt;SPAN&gt;query prior versions of data&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, the data retention for time travel queries in Fabric Warehouses is thirty calendar days. However Fabric doesn't allow us to modify the retention duration for Warehouses.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Jing&lt;BR /&gt;Community Support Team&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 06:33:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4314657#M2187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-05T06:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4316461#M2201</link>
      <description>&lt;P&gt;Thanks for your valuable insights.&lt;/P&gt;&lt;P&gt;The data is still persisting in Delta tables for more than 30 days. Please find the screenshot below for your reference. The August 2024 data is still exists in the one lake.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 06:17:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4316461#M2201</guid>
      <dc:creator>datakulture</dc:creator>
      <dc:date>2024-12-06T06:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323732#M2224</link>
      <description>&lt;P&gt;Hello, everyone,&lt;/P&gt;&lt;P&gt;Any updates on this? My One Lake Storage is growing enormously every day, and we need a solution as soon as possible. I look forward to hearing from you.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 11:28:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323732#M2224</guid>
      <dc:creator>datakulture</dc:creator>
      <dc:date>2024-12-11T11:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323746#M2225</link>
      <description>&lt;P&gt;Hi Jing,&lt;/P&gt;&lt;P&gt;We have data older than 30 days, which is causing the enormous growth in OneLake. Please find the below screenshot for your references.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 11:38:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323746#M2225</guid>
      <dc:creator>datakulture</dc:creator>
      <dc:date>2024-12-11T11:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323772#M2226</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565231" data-lia-user-login="datakulture" class="lia-mention lia-mention-user"&gt;datakulture&lt;/a&gt;&amp;nbsp;How are you saying this particular folder is from Aug? The folders that you see most likely would be partitions. And a file generated in Aug doesn't mean that it is up for deletion. Let's say you deleted some records or did some OPTIMIZE on top of a delta table that reduced the number of files, if you run VACUUM and if the file is older than retention period, then it will be deleted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you still believe your delta table is not working properly, I would recommend creating a MS support ticket.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 11:53:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323772#M2226</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-12-11T11:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323794#M2227</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="644992" data-lia-user-login="govindarajan_d" class="lia-mention lia-mention-user"&gt;govindarajan_d&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Firstly, since it's a Fabric Warehouse, VACUUM is completely ruled out.&lt;/P&gt;&lt;P&gt;I am performing a truncate-and-load operation for the particular table, and the folder belongs to that specific table. Auto-deletion should occur for files older than 30 days, but that is not happening currently. Let me reach out to Microsoft for a resolution. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 12:11:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323794#M2227</guid>
      <dc:creator>datakulture</dc:creator>
      <dc:date>2024-12-11T12:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323798#M2228</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="644992" data-lia-user-login="govindarajan_d" class="lia-mention lia-mention-user"&gt;govindarajan_d&lt;/a&gt;&amp;nbsp; Question -&amp;nbsp;&lt;SPAN&gt;How are you saying this particular folder is from Aug? Please refer above screenshot.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 12:13:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323798#M2228</guid>
      <dc:creator>datakulture</dc:creator>
      <dc:date>2024-12-11T12:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323807#M2229</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565231" data-lia-user-login="datakulture" class="lia-mention lia-mention-user"&gt;datakulture&lt;/a&gt;&amp;nbsp;Yeah I understand VACUUM is not possible manually, but what I meant was the automatic run process. If it is a truncate and load operation, then definitely the previous version files should be there if it is older than 30 days.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 12:16:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4323807#M2229</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-12-11T12:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Old Parquet Files Persisting After INSERT OVERWRITE in MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4702281#M3063</link>
      <description>&lt;P&gt;I had the same problem with some staging tables that have a truncate and load pattern.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm doing now is to drop the table and recreate it. That appears to have gotten rid of all the delta parquet history files. This does mean also recreating any indexes, and any table-level permissions, so it's not the normal pattern on a T-SQL database, but the Fabric Warehouse is not a T-SQL database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this to find the real size of the Fabric Warehouse, since the Azure Storage Explorer doesn't count it all.&lt;/P&gt;&lt;P&gt;"Whats the size of my Fabric Workspace / Lakehouse / Warehouse" -&amp;nbsp;Mark Pryce-Maher&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.youtube.com/watch?v=cu6yie583B8" target="_blank"&gt;https://www.youtube.com/watch?v=cu6yie583B8&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://gist.github.com/MarkPryceMaherMSFT/04939610b48df6a8b79d18ec46485dfd" target="_blank"&gt;https://gist.github.com/MarkPryceMaherMSFT/04939610b48df6a8b79d18ec46485dfd&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thought I had was to put the staging table in a Fabric Lakehouse, because that should be reachable from T-SQL in the Fabric Warehouse using a 3-part name. Then I would be able to adjust the retention and/or manually run the vacuum command. But the drop and recreate was fully T-SQL and had less setup. I do have an existing Fabric Lakehouse in the same workspace, but I didn't fully look into if adjusting the retention was table specific, or applies to the whole Lakehouse, meaning I might need a Lakehouse solely for staging tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 19:09:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Issue-with-Old-Parquet-Files-Persisting-After-INSERT-OVERWRITE/m-p/4702281#M3063</guid>
      <dc:creator>mikeburek</dc:creator>
      <dc:date>2025-05-21T19:09:12Z</dc:date>
    </item>
  </channel>
</rss>

