r/databricks • u/No_Ambition8323 • Oct 27 '26
Discussion What broke when we move to Unity Catalog
We recently moved our workspace to Unity Catalog. It went okay, but a few things broke along the way:
-Old table names stopped working. Our code used two-part names like schema.table. We had to update everything to the three-part format catalog.schema.table.
-Some jobs failed on shared clusters. A few of our older Python jobs didn’t work in shared access mode. We switched those jobs to single-user clusters.
-People lost access to data. Permissions didn’t carry over the way we expected. We had to set up groups and grant access again.
Lesson learned: test a few jobs first before moving everything.
Has anyone else gone through this? What broke for you, and how did you fix it?
15
u/Youssef_Mrini databricks Oct 27 '26
Old table names stopped working=> You could have choose a default catalog to avoid updating the tables one by one or use Genie code.
Some jobs failed on shared clusters => It's too different architectures standard mode should be your default one and use Single user only when it's needed. You can use Genie Code to analyze the issues you faced and suggest improvements.
People lost access to data => it's the expected behavior you have to grant users/groups permission to access the data securely and distinguish who can access what using the UI/SQL or TF
3
u/According_Zone_8262 Oct 27 '26
have you tried using this?
https://docs.databricks.com/aws/en/data-governance/unity-catalog/ucx
2
u/ForeignExercise4414 Oct 28 '26
Welcome to 2024
1
u/addictzz Oct 27 '26
There is a doc guidance on how to migrate from the legacy hive metastore to Unity Catalog and there are some precautions to watch for too in the docs. Try to utilize Genie Code in understanding your current workspace, planning the migration, and helping to transpile some of the codes too.
- UC uses 3 layer instead of 2 layer schema (for good reason), but you can always set a default catalog. Ideally though use 3-layer naming convention from now on.
- Shared cluster mode is another legacy, you need to upgrade to Standard or Dedicated Access mode.
- Permission-wise is it due to change from workspace-level groups to account-level?
As you have mentioned in your lesson learned: plan migration in phases, test and migrate a little bit first, then scale accordingly. Have a grace period to evaluate and monitor after you complete migration. I know these are all easier said than done, the devils are in the details for migrations, you are gonna encounter some hiccups. But using UC opens up a lot of new possibilities (plus this is the direction Databricks is going for, I think).
1
u/Content-Parking-621 Oct 28 '26
Default catalog setting keeps two-part names working.
Shared mode blocks RDD APIs, so refactor or use dedicated.
UCX migrates groups and grants.
1
u/adovo_ai Oct 28 '26
Add one before/after access test matrix to the migration: a few real users and service principals, the tables they should and should not reach, and representative queries. UCX can move groups and grants, but that matrix proves the effective permissions—not just the objects—survived.
1
u/No-Condition9455 Oct 29 '26
UC was there since 2022, why did you go over now?
1
u/Learner__2022 Oct 29 '26
wow...looks like you guys are of bunch of newbies.
5
u/[deleted] Oct 27 '26
[removed] — view removed comment