Skip to content

A scenario for a platform engineer · Junior and up

An analyst needs one table

Query · Analytics
Wednesday, 13:00

A new analyst in finance needs to read the invoices table in Unity Catalog. Their manager wants it done before a 14:00 meeting.

What do you do?

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

Show the best call

Grant SELECT on the table, and USE on its catalog and schema, to the finance analysts group, and add the analyst to the group.

They can read it by 13:05, and the next finance analyst only has to be added to the group.

Why

In Unity Catalog, reading a table takes SELECT on the table plus USE CATALOG and USE SCHEMA on what contains it. Granting to groups ties access to a role, not to a person.

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

The other two

Works, at a price. Grant the same rights straight to that one person.
Done by 13:05. In a year nobody remembers why this person has it.
A poor call. Make them a workspace admin so they are never blocked again.
They still cannot read invoices: the admin role does not come with SELECT on the table. It does let them change every setting in the workspace.

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)

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.