Hi @Abhishek_blue, The error message you encountered, “[UC_NOT_ENABLED] Unity Catalog is not enabled on this cluster,” indicates that the Unity Catalog feature is not enabled for your Databricks cluster.
Let’s address your questions:
-
Is enabling Unity Catalog mandatory?
- The Unity Catalog is a powerful feature in Databricks that provides a unified metadata catalog for managing tables, views, and other data assets. It allows you to organize and query your data more efficiently.
- However, enabling Unity Catalog is not mandatory. You can still work with Databricks without it, but you won’t have access to the additional features it provides.
-
How do you proceed?
- If you want to enable Unity Catalog, follow these steps:
- Workspace Configuration:
- Go to your Databricks workspace.
- Click on the “Workspace” tab.
- Click “Update Workspace.”
- Toggle the “Enable Unity Catalog” switch to the ON position.
- Choose the corresponding metastore from the dropdown (the one assigned to your workspace).
- Click “Update.”
- Cluster Configuration:
- Make sure you are using a Databricks Runtime (DBR) version greater than 11.
- Check that credential passthrough is not enabled.
- Verify that the Unity Catalog tag is associated with your cluster.
- Notebook Usage:
- If you encounter any issues during these steps, consider checking your Databricks account or subscription settings.
-
Cluster vs. Workspace:
- The error message refers to the “cluster.” In this context:
- The “workspace cluster” is the compute cluster associated with your Databricks workspace.
- The “compute cluster” is where your notebooks run.
- Ensure that Unity Catalog is enabled for both the workspace and the compute cluster.
Remember that Unity Catalog enhances data governance and simplifies data discovery, but it’s not strictly required. Feel free to proceed based on your specific needs! 😊
For more details, you can refer to the official Databricks documentation. If you encounter any further issues, don’t hesitate to ask for additional assistance! 🚀
Sources:
- Databricks Community Forum: Unity Catalog Not Enabled
- DevCodeF1: Databricks Community Version Error Message: UnityCatalog Not Enabled
- Databricks Community Forum: Unable to Query Unity Catalog Tables from Notebooks
- Stack Overflow: Unity Catalog Not Enabled on Cluster in Databricks
- Databricks Community Forum: ‘Unity Catalog Volumes is not enabled on this instance’ Error12345