<?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: Retention for hive_metastore tables in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/retention-for-hive-metastore-tables/m-p/95763#M2149</link>
    <description>&lt;P&gt;Hi mattiags&lt;/P&gt;&lt;P&gt;As long as you do not delete the data via notebook or in the data lake, it will not be deleted in any other way. This means that there is no retention time in this sense, or conversely, it is infinite until you deliberately delete the data.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 17:25:39 GMT</pubDate>
    <dc:creator>Stefan-Koch</dc:creator>
    <dc:date>2024-10-23T17:25:39Z</dc:date>
    <item>
      <title>Retention for hive_metastore tables</title>
      <link>https://community.databricks.com/t5/administration-architecture/retention-for-hive-metastore-tables/m-p/95673#M2145</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a notebook that creates tables in the hive_metastore with the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;df.write.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"delta"&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;mode&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"overwrite"&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;saveAsTable&lt;/SPAN&gt;&lt;SPAN&gt;(output_table_name)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Which is the retantion for the data saved in the hive metastore? is there any configuration for keeping the data for like 5 years?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Oct 2024 08:49:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/retention-for-hive-metastore-tables/m-p/95673#M2145</guid>
      <dc:creator>mattiags</dc:creator>
      <dc:date>2024-10-23T08:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Retention for hive_metastore tables</title>
      <link>https://community.databricks.com/t5/administration-architecture/retention-for-hive-metastore-tables/m-p/95763#M2149</link>
      <description>&lt;P&gt;Hi mattiags&lt;/P&gt;&lt;P&gt;As long as you do not delete the data via notebook or in the data lake, it will not be deleted in any other way. This means that there is no retention time in this sense, or conversely, it is infinite until you deliberately delete the data.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 17:25:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/retention-for-hive-metastore-tables/m-p/95763#M2149</guid>
      <dc:creator>Stefan-Koch</dc:creator>
      <dc:date>2024-10-23T17:25:39Z</dc:date>
    </item>
  </channel>
</rss>

