<?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: Will the database be deleted when the cluster terminates ? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/will-the-database-be-deleted-when-the-cluster-terminates/m-p/32700#M23840</link>
    <description>&lt;P&gt;Thanks for the answer Hubert &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt; &lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 20:37:46 GMT</pubDate>
    <dc:creator>Logan_Data_Inc_</dc:creator>
    <dc:date>2021-12-20T20:37:46Z</dc:date>
    <item>
      <title>Will the database be deleted when the cluster terminates ?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-the-database-be-deleted-when-the-cluster-terminates/m-p/32698#M23838</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm working in Databricks Community Edition. So I will terminate my cluster after my work because anyways it will be terminated after 2 hours. I'm creating a database to store all my transformed data. Will the database be deleted when I terminate the cluster ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried it and seems like it will delete the database because it doesn't recognize the database name I gave. &lt;/P&gt;&lt;P&gt;Error Message -  AnalysisException: Database 'db_name' not found &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can see my database path in DBFS: dbfs:/user/hive/warehouse/db_name.db.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I create a new database and try to add data to tables, then there is an error saying that the table already exists and not empty.&lt;/P&gt;&lt;P&gt;Please help me with this problem.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 20:07:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-the-database-be-deleted-when-the-cluster-terminates/m-p/32698#M23838</guid>
      <dc:creator>Logan_Data_Inc_</dc:creator>
      <dc:date>2021-12-20T20:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Will the database be deleted when the cluster terminates ?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-the-database-be-deleted-when-the-cluster-terminates/m-p/32699#M23839</link>
      <description>&lt;P&gt;Problem is that it is community edition so metastore with databases didn't survive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try:&lt;/P&gt;&lt;P&gt;CREATE DATABASE IF NOT EXISTS db_name LOCATION 'dbfs:/user/hive/warehouse/db_name.db'&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 20:21:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-the-database-be-deleted-when-the-cluster-terminates/m-p/32699#M23839</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-12-20T20:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Will the database be deleted when the cluster terminates ?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-the-database-be-deleted-when-the-cluster-terminates/m-p/32700#M23840</link>
      <description>&lt;P&gt;Thanks for the answer Hubert &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 20:37:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-the-database-be-deleted-when-the-cluster-terminates/m-p/32700#M23840</guid>
      <dc:creator>Logan_Data_Inc_</dc:creator>
      <dc:date>2021-12-20T20:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Will the database be deleted when the cluster terminates ?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-the-database-be-deleted-when-the-cluster-terminates/m-p/32701#M23841</link>
      <description>&lt;P&gt;@Hubert Dudek​&amp;nbsp;- Thanks for answering so quickly!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Sriram Devineedi​&amp;nbsp;- If Hubert's answer solved the issue for you, would you be happy to mark his answer as best? That helps others know where to look. &lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:15:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-the-database-be-deleted-when-the-cluster-terminates/m-p/32701#M23841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-20T21:15:00Z</dc:date>
    </item>
  </channel>
</rss>

