Databricks Unity Catalog: Centralized Governance for Your Lakehouse

Databricks Unity Catalog: Centralized Governance for Your Lakehouse

Celestinfo Software Solutions Pvt. Ltd. • Sep 04, 2025

Quick answer: Unity Catalog is Databricks' centralized governance layer that replaces per-workspace Hive Metastores with a single control plane. It gives you a 3-level namespace (catalog.schema.table), cross-workspace access control via SQL GRANT statements, automatic column-level lineage, and built-in OpenSharing (formerly Delta Sharing) for external data distribution. Workspaces created after 8 November 2023 have Unity Catalog enabled automatically, and Databricks has retired the Standard tier, so every current workspace can use it.

Last updated: October 2026

Introduction

Most Databricks deployments start simple: one workspace, one Hive Metastore, a handful of engineers who know where everything lives. Then the second workspace appears. Then the third. Suddenly the data science team can't access the tables the data engineering team built, nobody knows which tables contain PII, and the security audit turns into a scavenger hunt across 6 separate metastores. That's the problem Unity Catalog was built to solve.


Unity Catalog provides a single governance layer across all your Databricks workspaces. Instead of managing access controls, metadata, and lineage separately in each workspace, you define everything once and it applies everywhere. This guide covers how Unity Catalog works, how to set it up, and the gotchas you'll hit during migration.


The Problem: Fragmented Governance


Without Unity Catalog, every Databricks workspace gets its own Hive Metastore. That creates three specific headaches:



Unity Catalog replaces this fragmented model with a centralized metastore that all workspaces share. One place to define access policies. One place to track lineage. One audit log.


The 3-Level Namespace


Unity Catalog introduces a 3-level naming convention that replaces the flat database.table structure in Hive Metastore:


Unity Catalog Namespace
catalog.schema.table

-- Examples:
production.sales.orders
staging.marketing.campaigns
sandbox.data_science.churn_predictions


This hierarchy lets you grant access at any level. Give a team access to an entire catalog, a single schema, or a specific table. Permissions cascade downward: a GRANT on a catalog applies to every schema and table inside it.


Does this need to survive an audit? Role hierarchies, masking policies and row access rules are quick to draw and hard to keep correct once several teams are changing them. We implement the model in your account and leave behind the tests that prove it still holds next quarter.

Book a governance review Data engineering services

Setting Up Unity Catalog


For a workspace created after 8 November 2023, Unity Catalog is already enabled, and Databricks documents the metastore steps as unnecessary. Older workspaces, or a workspace in a new region, may still need the full setup: creating a metastore, assigning it to workspaces, configuring storage credentials and defining external locations.


Step 1: Create the Metastore


A Unity Catalog metastore is the top-level container for all your metadata. You create one metastore per region (Databricks requires the metastore and workspaces to be in the same cloud region). Metastore-level storage is optional, because managed tables can instead store their data in a location set on each catalog or schema.


You create the metastore in the Databricks Account Console (not in a workspace). Only account admins can do this.


Step 2: Assign Workspaces


After creating the metastore, assign it to one or more workspaces. Each workspace can only be assigned to one metastore. Once assigned, users in that workspace can access any catalog they've been granted permissions on - regardless of which workspace created the catalog.


Step 3: Configure Storage Credentials


Storage credentials tell Unity Catalog how to authenticate with your cloud storage (S3 buckets, ADLS containers, or GCS buckets). You create an IAM role (AWS), service principal (Azure), or service account (GCP) and register it as a storage credential in Unity Catalog.


Databricks SQL has no statement for creating a storage credential. In Catalog Explorer, go to Connect → Credentials → Create credential, choose AWS IAM Role and enter the role ARN. Databricks then shows an external ID to add to the role's trust policy. Creating a credential needs the CREATE STORAGE CREDENTIAL privilege on the metastore, which metastore admins hold by default, and the credential's Validate Configuration option checks that the trust policy is right.


Step 4: Define External Locations


External locations map a storage credential to a specific cloud storage path. This is how you control which paths Unity Catalog can read from and write to. External tables must reference a registered external location and can't point to arbitrary paths. This is a deliberate security constraint.


SQL - Create External Location
CREATE EXTERNAL LOCATION my_data_lake
  URL 's3://my-data-bucket/lakehouse/'
  WITH (STORAGE CREDENTIAL my_s3_credential);

-- Grant usage to a group
GRANT READ FILES ON EXTERNAL LOCATION my_data_lake
  TO `data-engineering-team`;

Managing Access with GRANT Syntax


Unity Catalog uses standard SQL GRANT/REVOKE statements for access control. Permissions follow a hierarchy of securable objects:


Metastore → Catalog → Schema → Table/View/Function


SQL - Access Control Examples
-- Grant full access to a catalog
GRANT ALL PRIVILEGES ON CATALOG production TO `data-engineering-team`;

-- Grant read-only access to a specific schema
GRANT USE CATALOG ON CATALOG production TO `analytics-team`;
GRANT USE SCHEMA ON SCHEMA production.sales TO `analytics-team`;
GRANT SELECT ON SCHEMA production.sales TO `analytics-team`;

-- Grant access to a single table
GRANT SELECT ON TABLE production.sales.orders TO `reporting-user`;

-- Revoke access
REVOKE SELECT ON TABLE production.sales.orders FROM `reporting-user`;

Key permissions include USE CATALOG, USE SCHEMA, SELECT, MODIFY, CREATE TABLE, and ALL PRIVILEGES. The USE permissions are required before a user can query anything inside a catalog or schema, which is why the read-only example grants USE CATALOG as well as USE SCHEMA.


Data Lineage Tracking


Unity Catalog automatically captures column-level lineage across notebooks, jobs, and Lakeflow pipelines (formerly Delta Live Tables). No manual configuration required. When a notebook reads from production.sales.orders and writes to production.analytics.daily_revenue, Unity Catalog records that relationship automatically.


You can view lineage in the Databricks UI by navigating to any table and clicking the "Lineage" tab. It shows both upstream sources (where the data comes from) and downstream consumers (what depends on this table). This is invaluable during incident response: if a source table has bad data, you can immediately see every downstream table and dashboard affected.


Data Discovery: Search and Tagging


Unity Catalog includes a built-in search interface that indexes table names, column names, descriptions, and tags across all catalogs. Instead of asking "does anyone know where the customer churn data lives?", users can search for "churn" and find every table and column that matches.


Tags add another layer of discoverability. You can tag tables and columns with labels like pii, gdpr, finance, or deprecated. Tags can also drive access control directly. Unity Catalog's attribute-based access policies, created with CREATE POLICY, apply row filters and column masks to tagged objects, so a column tagged as PII can be masked wherever it appears without custom automation.


SQL - Tagging
-- Tag a table
ALTER TABLE production.sales.customers
  SET TAGS ('pii' = 'true', 'regulation' = 'gdpr');

-- Tag a specific column
ALTER TABLE production.sales.customers
  ALTER COLUMN email SET TAGS ('pii' = 'email');

Audit Logging


Every access event in Unity Catalog gets logged: who queried which table, when, from which workspace. These audit logs feed into your Databricks system tables (system.access.audit) and can be exported to your SIEM or compliance tooling. For organizations subject to SOX, HIPAA, or GDPR, this is the difference between a 3-week audit preparation cycle and a 3-hour one.


OpenSharing (formerly Delta Sharing)


OpenSharing, the name Databricks gave Delta Sharing in June 2026, is an open protocol for secure data sharing that's built into Unity Catalog. It lets you share data with external organizations without copying it. Recipients don't need a Databricks account; they can read shared data from clients that support the protocol, such as pandas, Spark, Power BI and Tableau, and OpenSharing adds Iceberg REST catalog clients as recipients.


You create a share, add tables to it, and create recipients with activation links. The recipient gets read-only access to the specific tables you've shared, and you can revoke access at any time. Data never leaves your storage - recipients read directly from your cloud storage via short-lived, pre-signed URLs.


Migrating from Hive Metastore


If you have existing Hive metastore tables, Databricks provides the SYNC command to upgrade external tables to Unity Catalog. The migration doesn't move data. It creates Unity Catalog entries that point to the same underlying storage, and it writes bookkeeping properties to each source table, so it needs write access to the table location. Hive managed tables stored outside workspace storage need SYNC ... AS EXTERNAL (Databricks Runtime 13.2 and above), managed tables in the DBFS root can't be upgraded with SYNC at all, and Databricks points to CREATE TABLE ... CLONE for those. Views and Hive SerDe tables are not upgraded by SYNC.


SQL - Migrate Hive Tables
-- Sync an entire schema from Hive Metastore to Unity Catalog
SYNC SCHEMA production.sales
  FROM hive_metastore.sales_db;

-- Sync a single table
SYNC TABLE production.sales.orders
  FROM hive_metastore.sales_db.orders;

In an older workspace that still has the Hive metastore, both can run in parallel during the migration. Tables are accessible through both paths, giving teams time to update their notebook references from hive_metastore.sales_db.orders to production.sales.orders. Plan for a 2 to 4 week migration window for most organisations. The Hive metastore is now a legacy feature. An account setting to disable legacy features removes it, along with the DBFS root and mounts, from new workspaces, newer accounts have no legacy features by default, and disabling the Hive metastore in a workspace becomes permanent after 30 days.


The gotcha: ownership transfers require careful planning. In Hive Metastore, the workspace admin owns everything by default. In Unity Catalog, you need to explicitly assign owners to catalogs, schemas, and tables. If you don't plan this upfront, you'll end up with a single account admin who owns 500 tables and becomes a bottleneck for every permission request.


When Unity Catalog Matters



Gotchas and Limitations



Key Takeaways



Mohan, Senior Data Engineer

Mohan is a Senior Data Engineer at CelestInfo who evaluates and compares data platforms, tools, and architectures to help clients choose the right technology stack.

Related Articles

Q: Does Unity Catalog require Databricks Premium or Enterprise?

Every current workspace qualifies. Databricks has retired the Standard tier and upgraded Standard workspaces to Premium, and workspaces created after 8 November 2023 have Unity Catalog enabled automatically.

Q: Can I migrate existing Hive Metastore tables to Unity Catalog?

Yes. SYNC upgrades external tables, and with AS EXTERNAL it also handles managed tables stored outside workspace storage. Managed tables in the DBFS root need CREATE TABLE ... CLONE. In older workspaces both metastores can run in parallel while teams update their references.

Q: What is the 3-level namespace in Unity Catalog?

Unity Catalog uses a catalog.schema.table namespace. The catalog is the top-level container (often mapped to environments or business units), schema groups related tables, and table is the actual data object. This replaces the flat database.table structure in Hive Metastore.

Q: Does Unity Catalog support column-level lineage?

Yes. Unity Catalog automatically tracks column-level lineage across notebooks, jobs, and Lakeflow pipelines (formerly Delta Live Tables). You can trace any column back to its source tables without any manual configuration or additional tooling.

Burning Questions
About CelestInfo

Simple answers to make things clear.

Our AI insights are continuously trained on large datasets and validated by experts to ensure high accuracy.

Absolutely. CelestInfo supports integration with a wide range of industry-standard software and tools.

We implement enterprise-grade encryption, access controls, and regular audits to ensure your data is safe.

Insights are updated in real-time as new data becomes available.

We offer 24/7 support via chat, email, and dedicated account managers.

Still have questions?

Get Assistance

Ready? Let's Talk!

Get expert insights and answers tailored to your business requirements and transformation.

Get Assistance