<?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 Drop Delta Log seems not to be working in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/drop-delta-log-seems-not-to-be-working/m-p/136761#M50644</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I have a delta table where I set the following property&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;logRetentionDuration: "interval 1 days"&lt;/PRE&gt;&lt;P&gt;I was doing some table operations and see in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;_delta_log&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;folder files such as&lt;/P&gt;&lt;PRE&gt;00000000000000000000.json
00000000000000000001.json
00000000000000000002.json&lt;/PRE&gt;&lt;P&gt;After one day, I was doing some other operations and I see that all 10 commit compacted files are created in the log.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;However, I was expecting that the old log jsons (older than 1 day) are removed. Why are they still there?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Oct 2025 15:00:10 GMT</pubDate>
    <dc:creator>a_user12</dc:creator>
    <dc:date>2025-10-30T15:00:10Z</dc:date>
    <item>
      <title>Drop Delta Log seems not to be working</title>
      <link>https://community.databricks.com/t5/data-engineering/drop-delta-log-seems-not-to-be-working/m-p/136761#M50644</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I have a delta table where I set the following property&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;logRetentionDuration: "interval 1 days"&lt;/PRE&gt;&lt;P&gt;I was doing some table operations and see in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;_delta_log&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;folder files such as&lt;/P&gt;&lt;PRE&gt;00000000000000000000.json
00000000000000000001.json
00000000000000000002.json&lt;/PRE&gt;&lt;P&gt;After one day, I was doing some other operations and I see that all 10 commit compacted files are created in the log.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;However, I was expecting that the old log jsons (older than 1 day) are removed. Why are they still there?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 15:00:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/drop-delta-log-seems-not-to-be-working/m-p/136761#M50644</guid>
      <dc:creator>a_user12</dc:creator>
      <dc:date>2025-10-30T15:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Drop Delta Log seems not to be working</title>
      <link>https://community.databricks.com/t5/data-engineering/drop-delta-log-seems-not-to-be-working/m-p/137245#M50714</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110209"&gt;@a_user12&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;deltaLogRetentionDuration&lt;/STRONG&gt; is the interval after which the delta log files will be removed from the delta log. Delta Lake adheres to a set of internal rules to clean up the delta log when the retention duration is exceeded.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Setting delta.&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;logRetentionDuration&lt;/STRONG&gt;&amp;nbsp;alone will not automatically remove delta log files. Databricks uses a specific internal cleanup logic, and log files are only deleted once both retention criteria and the&amp;nbsp;&lt;/SPAN&gt;required checkpoint files are present. In other words, simply configuring the retention duration does not directly trigger the removal of delta log files: Delta Lake manages delta log deletion asynchronously, and deletes only files eligible per retention rules after periodic checkpointing&lt;/P&gt;</description>
      <pubDate>Sat, 01 Nov 2025 13:09:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/drop-delta-log-seems-not-to-be-working/m-p/137245#M50714</guid>
      <dc:creator>K_Anudeep</dc:creator>
      <dc:date>2025-11-01T13:09:48Z</dc:date>
    </item>
  </channel>
</rss>

