Connect to Unity Catalog
Last updated
Last updated
Select your workspace and click the Catalog option in the sidebar to create a Unity Catalog.
Click Create Catalog
Provide a name to your Catalog and select metastore as Unity from the dropdown option.
Select the cloud resource if you have created a serverless workspace.
To establish a connection provide the required inputs:
DataBricks Hostname - The hostname can be obtained from the Databricks URL, which starts with "dbc" and ends with ".com".
DataBricks Unity Catalog Name - This is the name of the Unity Catalog registered in Databricks Unity. It can be found under the Catalog section.
DataBricks Access Token - To create a Databricks personal access token for your Databricks workspace user, refer to this documentation.
Click on Validate after providing the inputs.
Next, select the databases/schemas you want to run the queries on from your metastore. This selection can be changed later.
To enable automatic catalog updates, toggle on the auto-refresh option and set the desired time interval for catalog updates. Remember, you can always adjust this selection and interval later.
If you do not require auto-refresh for your catalog, you can proceed to the next step.
If all the settings are correct, click on Create.
You will be redirected to your catalog listing screen. Successful creation will change your catalog status from PENDING to ACTIVE.
In case the catalog has not been created there will be an error that you can see on hovering over the status bar. We have listed the errors that you can encounter while creating a catalog on the catalog errors.