<?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: Deleted File Retention Duration in Cluster not work in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/deleted-file-retention-duration-in-cluster-not-work/m-p/101429#M40662</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It seems you are setting the retention period to 0 hours.&lt;/P&gt;
&lt;P&gt;You need to first use this config&amp;nbsp;&lt;STRONG&gt;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;spark.databricks.delta.retentionDurationCheck.enabled&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;false&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;and then set the retentention duration config as you used.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;You can do a DRY RUN to check if there are any files which are ready to be vacummed.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Reference link: &lt;A href="https://docs.databricks.com/en/sql/language-manual/delta-vacuum.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/sql/language-manual/delta-vacuum.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2024 08:14:40 GMT</pubDate>
    <dc:creator>Sidhant07</dc:creator>
    <dc:date>2024-12-09T08:14:40Z</dc:date>
    <item>
      <title>Deleted File Retention Duration in Cluster not work</title>
      <link>https://community.databricks.com/t5/data-engineering/deleted-file-retention-duration-in-cluster-not-work/m-p/83505#M36947</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I tried to set the retention period in my Cluster, but it`s not work&lt;/P&gt;&lt;P&gt;Cluster:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-08-19 at 19.51.25.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/10432iDD6B7A03476D47B4/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-08-19 at 19.51.25.png" alt="Screenshot 2024-08-19 at 19.51.25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Notebook:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-08-19 at 19.29.59.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/10430i429F3DB8C2284DE1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-08-19 at 19.29.59.png" alt="Screenshot 2024-08-19 at 19.29.59.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does not remove physical files&lt;/P&gt;&lt;P&gt;Do you have any ideas? thanks&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 22:51:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/deleted-file-retention-duration-in-cluster-not-work/m-p/83505#M36947</guid>
      <dc:creator>William_Scardua</dc:creator>
      <dc:date>2024-08-19T22:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deleted File Retention Duration in Cluster not work</title>
      <link>https://community.databricks.com/t5/data-engineering/deleted-file-retention-duration-in-cluster-not-work/m-p/101429#M40662</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It seems you are setting the retention period to 0 hours.&lt;/P&gt;
&lt;P&gt;You need to first use this config&amp;nbsp;&lt;STRONG&gt;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;spark.databricks.delta.retentionDurationCheck.enabled&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;false&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;and then set the retentention duration config as you used.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;You can do a DRY RUN to check if there are any files which are ready to be vacummed.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Reference link: &lt;A href="https://docs.databricks.com/en/sql/language-manual/delta-vacuum.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/sql/language-manual/delta-vacuum.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 08:14:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/deleted-file-retention-duration-in-cluster-not-work/m-p/101429#M40662</guid>
      <dc:creator>Sidhant07</dc:creator>
      <dc:date>2024-12-09T08:14:40Z</dc:date>
    </item>
  </channel>
</rss>

