<?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: What is the best practice of deleting the complete data from Delta table in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/what-is-the-best-practice-of-deleting-the-complete-data-from/m-p/19167#M12820</link>
    <description>&lt;P&gt;It's recommended to use the overwrite option. Overwrite the table data and run a VACUUM command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To Delete the data from a Managed Delta table, the DROP TABLE command can be used.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;If it's an external table, then run a DELETE query on the table and then execute VACUUM with RETAIN HOURS 0&lt;/LI&gt;&lt;LI&gt;CREATE or REPLACE table can also be used&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;We do not recommend deleting the files from the underlying storage directly. That can cause issues with the transaction logs&lt;/B&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Fri, 25 Jun 2021 17:53:28 GMT</pubDate>
    <dc:creator>brickster_2018</dc:creator>
    <dc:date>2021-06-25T17:53:28Z</dc:date>
    <item>
      <title>What is the best practice of deleting the complete data from Delta table</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-the-best-practice-of-deleting-the-complete-data-from/m-p/19166#M12819</link>
      <description>&lt;P&gt;I have a use case where I need to delete the data completely and load new data to the existing Delta table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 17:51:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-the-best-practice-of-deleting-the-complete-data-from/m-p/19166#M12819</guid>
      <dc:creator>brickster_2018</dc:creator>
      <dc:date>2021-06-25T17:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practice of deleting the complete data from Delta table</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-the-best-practice-of-deleting-the-complete-data-from/m-p/19167#M12820</link>
      <description>&lt;P&gt;It's recommended to use the overwrite option. Overwrite the table data and run a VACUUM command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To Delete the data from a Managed Delta table, the DROP TABLE command can be used.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;If it's an external table, then run a DELETE query on the table and then execute VACUUM with RETAIN HOURS 0&lt;/LI&gt;&lt;LI&gt;CREATE or REPLACE table can also be used&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;We do not recommend deleting the files from the underlying storage directly. That can cause issues with the transaction logs&lt;/B&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 25 Jun 2021 17:53:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-the-best-practice-of-deleting-the-complete-data-from/m-p/19167#M12820</guid>
      <dc:creator>brickster_2018</dc:creator>
      <dc:date>2021-06-25T17:53:28Z</dc:date>
    </item>
  </channel>
</rss>

