<?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: Delete Partition Folders in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delete-partition-folders/m-p/100107#M40188</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/105432"&gt;@shadowinc&lt;/a&gt;,&lt;/P&gt;
&lt;P class="p1"&gt;VACUUM is used to clean up unused and stale data files that are no longer referenced by a Delta table and are older than a specified retention period (default is 7 days). It does not remove empty directories. I think manual cleanup will be the way to go. I will check if any other workaround and let you know.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Nov 2024 14:27:57 GMT</pubDate>
    <dc:creator>Alberto_Umana</dc:creator>
    <dc:date>2024-11-26T14:27:57Z</dc:date>
    <item>
      <title>Delete Partition Folders</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-partition-folders/m-p/100069#M40181</link>
      <description>&lt;P&gt;Hello team, as DataBricks moved away from hive-style partitioning, we can see some 2-letter partition folders created. And I have observed that the vacuum doesn't delete these folders (even though they are empty). Is there any way to delete those using built-in features like REORG?&lt;/P&gt;&lt;P&gt;Of course, we can do it by looping over folders/subfolders, checking if they are empty, and then deleting but I am afraid it might break some logs, etc.&lt;/P&gt;&lt;P&gt;I would appreciate your help. If anyone has a better idea, please do share.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 12:35:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-partition-folders/m-p/100069#M40181</guid>
      <dc:creator>shadowinc</dc:creator>
      <dc:date>2024-11-26T12:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Partition Folders</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-partition-folders/m-p/100107#M40188</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/105432"&gt;@shadowinc&lt;/a&gt;,&lt;/P&gt;
&lt;P class="p1"&gt;VACUUM is used to clean up unused and stale data files that are no longer referenced by a Delta table and are older than a specified retention period (default is 7 days). It does not remove empty directories. I think manual cleanup will be the way to go. I will check if any other workaround and let you know.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 14:27:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-partition-folders/m-p/100107#M40188</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2024-11-26T14:27:57Z</dc:date>
    </item>
  </channel>
</rss>

