<?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: How to prevent Delta Lake checkpoints to be removed in Databricks? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-prevent-delta-lake-checkpoints-to-be-removed-in/m-p/19432#M13017</link>
    <description>&lt;P&gt;If you want to keep your checkpoints X days, you can set&amp;nbsp;&lt;I&gt;delta.checkpointRetentionDuration&lt;/I&gt;&amp;nbsp;to X days this way:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.sql(f"""
        ALTER TABLE delta.`path`
            SET TBLPROPERTIES (
                delta.checkpointRetentionDuration = 'X days'
            )
        """
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 16:54:57 GMT</pubDate>
    <dc:creator>User16826994223</dc:creator>
    <dc:date>2021-06-25T16:54:57Z</dc:date>
    <item>
      <title>How to prevent Delta Lake checkpoints to be removed in Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-prevent-delta-lake-checkpoints-to-be-removed-in/m-p/19431#M13016</link>
      <description>&lt;P&gt;I am seeing with  new commits the old checkpoints are getting removed and i can time travel only last 10 versions , Is there any way I can  prevent it so  that delat checkpoints are not removed &lt;/P&gt;&lt;P&gt;I'm using Azure Databricks 7.3 LTS ML.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 16:53:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-prevent-delta-lake-checkpoints-to-be-removed-in/m-p/19431#M13016</guid>
      <dc:creator>User16826994223</dc:creator>
      <dc:date>2021-06-25T16:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent Delta Lake checkpoints to be removed in Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-prevent-delta-lake-checkpoints-to-be-removed-in/m-p/19432#M13017</link>
      <description>&lt;P&gt;If you want to keep your checkpoints X days, you can set&amp;nbsp;&lt;I&gt;delta.checkpointRetentionDuration&lt;/I&gt;&amp;nbsp;to X days this way:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.sql(f"""
        ALTER TABLE delta.`path`
            SET TBLPROPERTIES (
                delta.checkpointRetentionDuration = 'X days'
            )
        """
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 16:54:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-prevent-delta-lake-checkpoints-to-be-removed-in/m-p/19432#M13017</guid>
      <dc:creator>User16826994223</dc:creator>
      <dc:date>2021-06-25T16:54:57Z</dc:date>
    </item>
  </channel>
</rss>

