A scenario for a platform engineer · Mid level and up
A data scientist needs the scanned contracts
Tensor · Data science
Tuesday, 14:40
Thousands of PDF files sit in a cloud storage folder. A data scientist needs to read them from a Databricks notebook and asks you for the storage access key.
What do you do?
Tap the one you would do. The answer opens below.
Show the best callThe best call
Create an external volume over the folder in Unity Catalog and grant the data science group READ VOLUME.
They read the files by a path under /Volumes. Access sits beside the table grants, and no key leaves your hands.
Why
A volume is the Unity Catalog object for files that are not tables. An external volume points at a storage path that already exists. Access is granted with READ VOLUME and WRITE VOLUME, and it is audited like access to tables.
Read it in the Databricks docs (opens in a new tab)The other two
- Works, at a price. Copy the files into a managed volume and grant read on that.
- Governed and safe. New contracts need a copy job, and the files are stored twice.
- A poor call. Give them the storage key.
- They can read the contracts and everything else in that storage account, with no record of who opened what.
The words in this scenario
- Volume.
- A Unity Catalog object for files that are not tables. Access to the files is granted on the volume. In the docs (opens in a new tab)
- 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
- Unity Catalog: what changed recentlyNews, releases, videos and questions on it, gathered daily.
More scenarios
- Each region may see only its own sales · platform engineer
- Who looked at the salaries table? · platform engineer
- A partner needs your product table · platform engineer
- All 47 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.