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
3 weeks ago
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.
Excited to expand your horizons with us? Click here to Register and begin your journey to success!
Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!