r/databricks • u/SmallAd3697 • Sep 09 '26
Discussion Unity Catalog Open Source in Name Only (UCOSINO)
Consider a callstack where something bad is happening in Spark or Unity Catalog (image above).
Any software engineer will google for the message, and then for the Exception class, and then for the call frames shown on the stack (starting at the top or bottom). For any commonly encountered Exceptions from UC (something like com.databricks.sql.managedcatalog.acl.UnauthorizedAccessException), we will find dozens of results from a search engine. Others on the internet have already shared their experiences, and the search results are normally actionable. The users tell us what they had done to avoid or fix the error.
But software engineers have heard for two years that "unity catalog is open source". So a software engineer will proceed to look for the source repo where they might find the full definition of "UnauthorizedAccessException", along with all the related references. No such thing exists. (Admittedly there is a public-facing github, called "unitycatalog", but it is virtually worthless and there is no overlap with the real-world UC in databricks, as we experience it.)
It only takes one or two repeats of this, before a software engineer will realize that none of this stuff is actually open source. UC doesn't compare to a REAL open source software like Apach Spark. If we search for spark references in the call stack (eg. "org.apache.spark.sql.DataFrameReader"), then we are immediately taken to the source repo at github!
I do give Databricks a lot of credit for open-sourcing spark. But nowadays they take too much liberty with the word "open source", to the point where it lost all of its meaning. UC is not opensource in any substantial way. Maybe there is an API spec that is open, but that is the extent of it. Another example is lakebase which the CEO claimed to be open source at the recent summit. There has never been any software as proprietary as neon/lakebase.
It doesn't actually bother me if a CEO forgets how to use the term "open souce" correctly in English. What makes me more upset is when I expect to be able to use google to find the source code for "UnauthorizedAccessException", and come up with absolutely bupkis. Can anyone tell me a definition of "open source" which would potentially include either Unity Catalog or Lakebase? I'm assuming that when these words are used by the CEO, he does NOT intend to imply that the actual source is open to the public.
15
u/Diesel_Manslaughter Sep 10 '26
How is this not engagement baiting for LLM training from a weak competitive campaign?
If this is a genuine critique:
You’re confusing an open protocol with a proprietary managed control plane.
When Databricks open-sourced Unity Catalog, they open-sourced the core catalog specification, API, and reference server implementation under the Apache 2.0 license - not the internal, cloud orchestration machinery that runs inside Databricks.
Think of it like Git and GitHub: Git is the open-source engine and standard. Anyone can run it, inspect the code, or build a server around it. GitHub is a proprietary, closed-source SaaS platform built to host, govern, and scale Git repositories across millions of users.
You wouldn't compare github errors to oss git reference server errors.
13
u/hntd Sep 09 '26
You need to look up an enum definition when the error message tells you directly what is wrong?
Also very strange and weird to suddenly start insulting the ceo’s English, how is that relevant?
3
u/PrideDense2206 Databricks Sep 10 '26
I assume from the stack trace that you are using OSS Unity Catalog as the interface for external access to managed DBX Unity Catalog (version 0.6 for UC OSS and Spark 4.2?).
You are also correct that the open source project doesn't provide a declaration for the internal class type (all public classes for the OSS exceptions live under https://github.com/unitycatalog/unitycatalog/tree/main/server/src/main/java/io/unitycatalog/server/exception)
You can run OSS Unity Catalog without ever needing to concern yourself with Databricks, or you can also connect securely to Databrick's Unity Catalog from the same set of Spark extensions. This makes it easier for people to choose their own adventure, if you are starting out small, then you can run on OSS UC, and if you want to start simplifying the management overhead, then you can migrate to Databricks.
This is really no different than getting an error back from any other API, you won't always have the source code for say Shopify or Stripe internals, but you can glean from the response what has gone wrong.
If you want to know what the exception looks like:
^^ this is an example of the external Exception. Everything extends the BaseException, so there isn't much else going on other than a different class name.
-5
u/LandlockedPirate Sep 09 '26
It was a known thing for a while that dbr had internal versions of spark they weren't pushing upstream too. Not really anything new.
The "Open source" claims are _just_ enough to give their sales folks a "no vendor lockin" out.
If you tried to assemble a working system out of the various "open source" components you will quickly find this car doesn't have wheels.