12-25-2023 09:39 PM
Hi Expert
I have created an external table in databricks community edition. Table is external table. But when i cluster is terminated, i am not able to query the table any more. What is the reason? What i need to do so that table is not dropped. Table creation script is as below
12-27-2023 02:26 PM
This is an expected behavior to the community edition clusters. Upon termination of the cluster, the data is purged.
12-27-2023 02:26 PM
This is an expected behavior to the community edition clusters. Upon termination of the cluster, the data is purged.
12-27-2023 02:36 PM
Thanks for your reply. I am seeing that data files are still there. But table defination is dropped. When i recreate the table with same script, i am able to access old data
06-10-2024 12:14 PM
Separation of Storage and Compute:
Cluster Metadata:
Persistence of Data Files:
To persist the metadata (schemas, table definitions, etc.) across cluster restarts, you can use the following methods:
External Hive Metastore:
Example of configuring an external Hive metastore:
Metastore Persistence in DBFS:
Example of saving table definitions and recreating them:
By using these methods, you can ensure that both your data and metadata are preserved across cluster restarts in Databricks Community Edition.
Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!
Sign Up Now