Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Databricks Data Governance: Unity Catalog, ABAC, OpenSharing
New
7 students

Databricks Data Governance: Unity Catalog, ABAC, OpenSharing

Grant Unity Catalog permissions, apply row-level security and column masking with governed tags, and test access in SQL.
Last updated 11/2026
English

What you'll learn

  • Manage Databricks Unity Catalog permissions so a user can query a specific table with only the privileges the task requires.
  • Build an attribute-based access control (ABAC) policy that uses governed tags to apply one regional row filter across two Olist tables.
  • Use SQL column masks to control which customer IDs and payment amounts each department can see in the same Olist table.
  • Test a masking policy by running the same SQL query as a Support user, a Finance user, and a user outside both groups.
  • Diagnose why a user can discover a table but cannot query it by checking USE CATALOG, USE SCHEMA, and SELECT privileges.
  • Use SHOW GRANTS, REVOKE, and GRANT to inspect table permissions, remove read access, and verify that a test user regains it.
  • Implement row-level security with a SQL function that filters seller records by region, then compare results across user groups.
  • Distinguish inherited schema tags from tags assigned directly to columns when deciding which data an ABAC policy will protect.
  • Choose between a table-level control and a tag-based ABAC policy based on how many datasets share the same access rule.
  • Trace data lineage across Bronze, Silver, and Gold tables in Catalog Explorer to identify upstream sources and downstream dependencies.
  • Choose an OpenSharing model for the recipient (Databricks-to-Databricks or Databricks-to-Open) and outline the provider workflow in Catalog Explorer.
  • Create a service principal and inspect a pipeline's Run as setting to identify the account whose permissions govern the workload.
  • Remove training policies and tag assignments while preserving the underlying Olist tables and reusable SQL functions.

Course content

10 sections • 46 lectures • 5h 22m total length
  • Delta Sharing Fundamentals: An Introduction to OpenSharing7:26

    "Databricks now calls Delta Sharing “OpenSharing.” This recording uses the earlier name. A partner needs current sales data. Explore how OpenSharing gives the partner access to a provider-managed dataset without requiring a fresh export for every update.


    In this lesson

    • Identify the provider and the recipient in a sales-data example.

    • Explain why separately distributed files can fall out of sync.

    • Describe what the provider continues to control.


    Frequently Asked Questions

    Who owns a shared dataset?

    The provider retains ownership of the source dataset and decides what to share.


    Why can a daily export create extra work?

    Each new file must reach the right recipients, and older versions can remain in circulation."

  • Project Files0:05
  • When Does a Business Need Delta Sharing?5:29

    Decide whether another team can use an existing Unity Catalog permission or needs a share across governance boundaries. The relevant detail is where the data and its consumers are managed.


    In this lesson

    • Identify the metastore boundary in a collaboration scenario.

    • Compare access within one metastore with access across metastores.

    • Recognize a sharing need between regions, partners or business units.


    Frequently Asked Questions

    Do two teams always need Delta Sharing?

    Teams using the same metastore may be able to use ordinary Unity Catalog grants.


    Can two teams in the same company need a share?

    Yes. Teams whose data is governed in separate metastores can face the same access problem as external partners.

  • OpenSharing Models: Databricks-to-Databricks and Databricks-to-Open6:29

    "Choose an OpenSharing model by looking at the recipient’s environment. Compare a team that also uses Databricks with a partner working in a different data platform.


    In this lesson

    • Identify the recipient environment in each example.

    • Describe the Databricks-to-Databricks sharing model.

    • Explain where an open-protocol client fits.


    Frequently Asked Questions

    Which model fits a recipient that uses Unity Catalog in Databricks?

    Databricks-to-Databricks sharing connects the provider to the recipient’s Databricks environment.


    Can a partner use a different platform?

    Yes. Databricks-to-Open sharing lets a recipient use a compatible client outside Databricks."

  • How Providers, Shares, and Recipients Work in Delta Sharing5:37

    "Follow a dataset from the provider’s selection of assets to the recipient’s access. Separate the decision about what to share from the decision about who may receive it.


    In this lesson

    • Identify the assets included in a share.

    • Trace how the provider designates a recipient.

    • Explain how source ownership is preserved.


    Frequently Asked Questions

    What does a share represent?

    A share groups the data assets the provider chooses to expose.


    Why does the provider need a recipient as well as a share?

    The share defines the assets. The recipient identifies the party that may be granted access."

  • Set Up a Delta Sharing Recipient in Catalog Explorer10:31

    "Follow the provider-side recipient form and locate the sharing identifier for a second Databricks environment. See where the training metastore stops the registration attempt.


    In this lesson

    • Distinguish Shared by me from Shared with me.

    • Find the recipient’s sharing identifier and review the form.

    • Interpret the external-sharing warning shown on Create.


    Frequently Asked Questions

    Which tab does a provider use to manage outgoing shares?

    Shared by me shows the provider side of the workflow.


    Why did recipient creation stop in this recording?

    External Delta Sharing was disabled on the training metastore, so the recipient could not be created."

  • Choose Assets and Review a Delta Share in Databricks9:03

    "Walk through the monthly_sales_share example. Review the proposed assets and recipient step, including the permissions and environment settings that limit completion in the demo.


    In this lesson

    • Give the share a name that describes its business purpose.

    • Review selected data assets and the access warnings shown.

    • Identify where the provider would assign the recipient.


    Frequently Asked Questions

    Where can I check what will be shared?

    The share workflow displays a summary of the assets chosen by the provider.


    Does the walkthrough finish with an external recipient querying data?

    The recording stops before a successful external handoff. The training environment could not complete recipient setup."

  • Quiz

Requirements

  • You’ll get the most from the SQL demonstrations if you can read a basic SELECT query and identify tables, columns, and schemas.
  • Some familiarity with the Databricks workspace and Catalog Explorer is helpful. The course introduces Unity Catalog permissions and attribute-based access control (ABAC) step by step.
  • You can start without prior experience in Delta Sharing (now OpenSharing), row filters, or column masking. The exercises use SQL and require no advanced Python or Spark skills.
  • To practise in your browser, use a Windows, macOS, or Linux computer with a reliable internet connection and access to a Databricks workspace with Unity Catalog. Databricks Free Edition is a free starting option.
  • To build the policies yourself, you’ll need permission to create SQL functions, assign governed tags, and manage policies on your practice data. You can follow the recorded walkthroughs without those permissions.
  • To reproduce the Olist masking test, you’ll need three test users with access to the demo table: one in Customer Support, one in Finance, and one in neither group.

Description

Databricks Data Governance: Unity Catalog, ABAC, OpenSharing

Welcome to the course!

Learn to manage Unity Catalog permissions, protect sensitive data with row filters and column masks, and test what each user can see in Databricks.

How can Customer Support and Finance query the same table and see different values? In Unity Catalog, you can use governed tags to identify sensitive columns and apply masking policies that take group membership into account. Both teams can work with the same dataset while each sees the values appropriate to its role.

If you write SQL or manage data on Databricks, this course takes you through that decision from start to finish. You’ll grant access to Olist e-commerce data, introduce a business rule, and repeat a query under different user accounts. The results give you evidence that the rule works as intended.

You’ll also explore OpenSharing (formerly Delta Sharing). The recorded lessons use the name Delta Sharing. When you follow the provider’s workflow in Catalog Explorer, you’ll see how to choose which assets to share and identify the recipient. The course compares the Databricks-to-Databricks and Databricks-to-Open sharing models.

What Will You Be Able to Do by the End of the Course?

  • Diagnose why someone can find a table in Catalog Explorer yet still cannot query it.

  • Grant a user access to a specific table, revoke that access, and verify the effect of each change.

  • Restrict which sales records a user can read and mask sensitive values according to group membership.

  • Apply one attribute-based access control (ABAC) policy to multiple tables that meet the same tagging conditions.

  • Test a policy with users inside and outside the intended groups, including a user who belongs to neither department.

  • Choose an OpenSharing model for a partner based on how the partner will access the data.

  • Remove a training policy while preserving the underlying tables and reusable SQL functions.

Build an Access Policy and Test It from the User’s Side

When should you attach a rule directly to a table, and when should you use ABAC? A direct row filter or column mask is a good fit for a rule specific to one table. When several datasets need the same protection, a Unity Catalog ABAC policy lets you define the rule centrally and use governed tags to identify where it applies.

You’ll try both approaches with Olist data. In the departmental case study, you’ll protect customer identifiers and payment amounts, then run the same SQL query as a Customer Support user, a Finance user, and a user outside both groups. Keeping the table and query fixed lets you see exactly how the result changes with the user’s identity. It also gives you a test you can adapt when someone asks, “What will this person actually see?”

What Will You Learn?

  • OpenSharing. Compare Databricks-to-Databricks sharing for a recipient using Unity Catalog with Databricks-to-Open sharing for a recipient using a compatible client. Follow the provider’s workflow to see how a share defines the assets and a recipient identifies who can receive access.

  • Data discovery and lineage. Inspect ownership, metadata, and table history. Trace dependencies across Bronze, Silver, and Gold tables to see where data came from and which downstream assets use it.

  • Unity Catalog permissions. Work with USE CATALOG, USE SCHEMA, and SELECT. Use SHOW GRANTS, REVOKE, and GRANT to investigate and change access.

  • Row-level security and dynamic data masking. Write SQL functions that filter records by region or change the values returned for sensitive columns. See how account group membership affects the result.

  • Governed tags and ABAC. Classify data, choose a policy scope, and examine tag inheritance. Learn when a sensitive column needs its own tag and how the same policy can cover more than one table.

  • Service principals and workload identity. Create a service principal and inspect a pipeline’s Run as setting to understand which identity needs access when an automated workload runs.

Why Take This Course?

If a colleague says, “I can see the table, but my query fails,” you have a concrete starting point. You’ll trace the path from catalog and schema privileges to the table grant, change one permission, and rerun the query as the affected user.

The same habit carries into policy design. A successful query from your own account tells you what you can read. The Olist exercises show you how to check the experience of someone with different responsibilities. That distinction matters when you need to explain an access decision to a data owner or demonstrate that a sensitive field is protected.

Which Databricks Data Governance Questions Does This Course Answer?

Why can a user discover a Unity Catalog table but get a permission error when querying it?

Metadata discovery and data access use different privileges. In the course example, the reader needs USE CATALOG on the parent catalog, USE SCHEMA on the schema, and SELECT on the table. You’ll test what happens when you remove and restore SELECT.

What is the difference between a row filter and a column mask?

A row filter determines which records appear in a query result. A column mask determines which value appears in a protected field. Restricting sellers to their assigned region calls for a row filter. Keeping a seller’s record visible while hiding the ZIP code calls for a column mask.

When should I use Unity Catalog ABAC?

Use ABAC when a common rule should follow a data classification across multiple assets. For example, tagging the relevant columns gives a regional access policy a consistent way to identify where its rule applies.

Does tagging a schema automatically classify every sensitive column?

Columns need direct tags when a policy depends on a column-level classification. You’ll compare an inherited classification with an explicitly tagged column and check which objects the policy matches.

How do I verify that a masking policy works for different teams?

Run the same query under identities with different group memberships and compare the returned values with the expected outcomes. Include someone outside the target groups so you also test what happens when neither group rule applies.

When do I need OpenSharing, and when are Unity Catalog grants enough?

Teams using the same Unity Catalog metastore can often collaborate through catalog, schema, and table privileges. OpenSharing is useful when data needs to reach a recipient across a sharing boundary, such as a partner using a separate metastore or a different platform.

Which OpenSharing model should I choose for a partner?

Databricks-to-Databricks sharing fits a partner who will access the data through a Unity Catalog-enabled Databricks workspace. Databricks-to-Open sharing lets the partner read shared data with a compatible client. The practical question is how the recipient plans to access the data.

Can I follow the OpenSharing walkthrough in Databricks Free Edition?

You can follow the provider-side steps shown in the recording. External sharing was disabled on the training metastore, so the walkthrough shows where recipient creation stops. Completing a live handoff requires an appropriately configured provider environment and recipient.

What should I know, and what access do I need to practise?

Basic SQL and familiarity with Databricks tables and schemas will help you follow the demonstrations. You can start without prior ABAC experience. To reproduce the policy tests yourself, you’ll need a suitable Unity Catalog workspace, permission to manage the relevant training objects, and access to separate test identities.

Who Is This Course For?

This course is for people who build, administer, or use Databricks datasets and need to understand who can see what.

  • Data engineers granting access to shared tables.

  • Databricks developers writing and testing SQL policy functions.

  • Analytics engineers preparing datasets for teams with different access needs.

  • Data analysts investigating missing rows, masked values, or denied queries.

  • BI developers tracing the upstream dependencies of reporting tables.

  • Data platform engineers working with service principals and workload permissions.

  • Databricks administrators managing groups, privileges, and policy scope.

  • Data governance specialists mapping classifications to enforceable access rules.

  • Data stewards reviewing ownership, lineage, and sensitive data tags.

  • Data security engineers validating fine-grained access controls from multiple user perspectives.

Video and Audio Quality

All course content is produced to high educational standards for an immersive learning experience.

  • Clear visuals: High-resolution screen recordings and readable code font sizes.

  • Clear audio: Professional, studio-quality sound with noise reduction.

  • Smooth pacing: Short, focused lessons that get straight to the point.

What Do You Get with This Course?

  • Guided Databricks and SQL demonstrations you can revisit as you practise permissions, masking, and policy testing.

  • An Olist case study that connects data classification, policy design, and verification across user accounts.

  • A course Q&A area where you can search existing answers or ask about a specific lesson.

  • Access to course updates when published. For individual purchases, continued access is subject to your account remaining in good standing and Udemy retaining its course license.

  • A Udemy certificate of completion when you complete the course through an eligible enrollment.

Put Databricks Data Governance into Practice

The next time a team asks for access to sensitive data, you’ll have a way to turn that request into a testable rule. Use Unity Catalog permissions to establish who can query a table, apply row filters or column masks to protect its contents, and verify the outcome from the user’s side.

Enroll today and build a Unity Catalog access policy you can test, explain, and reuse.

Who this course is for:

  • Data engineers who manage shared Databricks tables and need to grant access, protect sensitive columns, and verify what each team can see.
  • Databricks developers who know basic SQL and want to write and test row filters and column masks based on a user’s region or group membership.
  • Databricks administrators who handle access requests and need to diagnose why a user can find a table in Unity Catalog but cannot query it.
  • Data security engineers who need to test access policies from the user’s perspective, including what someone outside the intended groups can see.
  • Data governance specialists deciding when to protect one table directly and when to use governed tags and attribute-based access control (ABAC) across multiple datasets.
  • Data stewards responsible for classifying sensitive data who want to identify which columns need a governed tag for a masking policy to apply.
  • Data platform engineers who manage automated workloads and need to connect a pipeline’s Run as identity with the Unity Catalog privileges it requires.
  • Analytics engineers preparing shared datasets for teams such as Support and Finance who need to make the same table useful to both while protecting sensitive values.
  • Data analysts who query Databricks tables and want to explain why colleagues running the same SQL query may see different rows or masked values.
  • BI developers who rely on Databricks reporting tables and want to trace an upstream source or identify which downstream assets depend on a table.