A scenario for a platform engineer · Mid level and up
The orders table is gone
Query · Analytics
Thursday, 17:20
Someone cleaning up a schema dropped a Unity Catalog managed table that three dashboards read. It happened twenty minutes ago.
What do you do?
Tap the one you would do. The answer opens below.
Show the best callThe best call
Run UNDROP TABLE to bring it back.
The table is back, with its data.
Why
Unity Catalog keeps a dropped table for seven days by default. UNDROP TABLE restores it in that time with its data and its grants. Primary and foreign keys have to be added again.
Read it in the Databricks docs (opens in a new tab)The other two
- Works, at a price. Rebuild it by running the pipeline again from the raw files.
- It comes back after a long backfill.
- A poor call. Create an empty table with the same name, so the dashboards stop failing.
- The dashboards load and show nothing, and people start trusting the empty numbers.
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
- Unity Catalog: what changed recentlyNews, releases, videos and questions on it, gathered daily.
- Follow jobs and workflowsNews, releases, videos and questions on it, gathered daily.
More scenarios
- The runtime is reaching end of support · platform engineer
- Who changed the job? · platform engineer
- Task six of eight failed · 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.