Skip to content

A scenario for a platform engineer · Junior and up

Marketing wants the customers table

Vault · Security
Thursday, 10:20

Marketing analysts need the customers table in Unity Catalog for a campaign. It has an email column they are not allowed to see.

What do you do?

Tap the one you would do. The answer opens below.

Show the best call

Put a column mask on email, so only the allowed group sees real values.

One table, and each person sees what they are allowed to.

Why

A column mask in Unity Catalog replaces a column's value with the result of a function, based on who is asking. Row filters hide whole rows the same way. The data stays in one place.

Read it in the Databricks docs (opens in a new tab)

The other two

Works, at a price. Make a copy of the table without the email column.
It works today. Now there are two tables to keep in step, and the copy goes stale.
A poor call. Give them the table and ask them not to select the column.
A request is not a control. The auditors will say so too.

The words in this scenario

Unity Catalog.
The part of Databricks that governs data: who may see and change which tables and files, where data came from, and who did what. In the docs (opens in a new tab)
Column mask.
A function attached to a column that decides, for each reader, whether they see the real value or a hidden one. In the docs (opens in a new tab)

Go deeper on brickster.ai

More scenarios

Had one like this at work? Send it to us: the best tickets come from real incidents.

Checked against the Databricks documentation on . brickster.ai is independent and is not affiliated with Databricks.