Module 5: Unity Catalog
NERC auditors ask who has access to grid operations data. You can't answer. How do you govern data across teams, clouds, and compliance requirements?
in-progressYour wind utility’s data platform is working. Delta tables are reliable, the medallion layers are clean, DLT pipelines run automatically. Then a NERC CIP audit arrives and asks three questions:
- Who has access to CEII (Critical Energy Infrastructure Information)? Grid topology, generation capacity, and vulnerability data are regulated. You need to prove that only authorized personnel can see them.
- What is the lineage of your compliance reports? When the quarterly capacity report says your fleet produced 1.2 TWh, what data went into that number? Can you trace it back to the raw SCADA readings?
- What changed and when? If an analyst modified a Gold table on March 15, who approved it and what was the previous state?
You can’t answer any of these with file permissions and tribal knowledge. You need a governance layer.
Unity Catalog is Databricks’ answer — a centralized metastore that manages access control, data lineage, and audit logging across all your data assets. It uses a three-level namespace (catalog → schema → table) that maps naturally to organizational boundaries: one catalog per environment (dev/prod) or per business unit, schemas for functional areas, tables for specific datasets.
Most enterprise Databricks deals now hinge on Unity Catalog, not Spark. The conversation is rarely “can Spark run our queries” — it’s “can we govern our data across teams, clouds, and compliance requirements.” This module teaches you what that conversation looks like.
A large portion of existing Databricks customers are mid-migration from Hive Metastore to Unity Catalog. Understanding the pain of that migration — and how to minimize it — is practical consulting knowledge.
Prerequisites #
Complete Module 2: Delta Lake. You need to understand Delta’s storage model to see how Unity Catalog governs it.
Exercises #
Exercises live in modules/05-unity-catalog/exercises/. You’ll set up a namespace, configure access controls, and trace lineage through a pipeline.
Lectures
- Why governance — not performance — sells Databricks — NERC auditors ask three questions your data lake can't answer. That gap — not Spark speed — is what drives most enterprise Databricks deals.
- The three-level namespace: catalog, schema, table — How Unity Catalog organizes every data asset into a hierarchy that maps to your organization — environments, teams, and domains.
- Access control, lineage, and audit: what enterprises actually buy — Column masking for CEII coordinates, row filtering by region, automatic lineage from SCADA to compliance reports, and immutable audit logs — the three capabilities that close enterprise deals.
- Migrating from Hive Metastore and the alternatives — The painful reality of Hive-to-UC migration, and an honest comparison with AWS Glue Data Catalog, Apache Polaris, and Snowflake's built-in governance.
Exercises
- Exercises: Unity Catalog — Set up a namespace, configure access controls, trace lineage, and query audit logs — all in a Databricks workspace with Unity Catalog enabled.