A Rust reimplementation of Unity Catalog OSS, the
open catalog for data and AI. It has upstream's REST APIs (Unity Catalog, Delta and Iceberg REST),
a web UI and the uc CLI, and keeps the catalog in an embedded database (Turso) or in PostgreSQL.
The web UI, with sign-in through FerrisKey, as in just demo-auth:
The terminal UI of uc:
What upstream Unity Catalog OSS (Java) and unitycatalog-rs (Rust) have.
| Feature | Unity Catalog OSS (Java) | unitycatalog-rs (Rust) | Notes |
|---|---|---|---|
| APIs | |||
| Unity Catalog REST API: catalogs, schemas, tables, volumes, functions, models, grants | ✓ | ✓ | |
| Delta REST API (managed Delta tables) | ✓ | ✓ | |
| Iceberg REST catalog | ✓ | ✓ | |
| Temporary cloud credentials (AWS, Azure, GCP) | ✓ | ✓ | |
| Delta Sharing and Open Sharing server | ✓ | Tables, volumes and agent skills | |
| Files API (read and write files in volumes) | ✓ | Same shape as Databricks' /api/2.0/fs | |
| Search for catalogs, schemas, tables and other objects by name | ✓ | ||
| Sign-in and access | |||
| Sign-in with an identity provider's tokens (token exchange) | ✓ | ✓ | |
| Personal access tokens | ✓ | ||
| OAuth client credentials (machine sign-in) | ✓ | ||
| Authorization with privileges | ✓ | ✓ | |
| Authorization with Open Policy Agent | ✓ | ✓ | |
| Authorization with Cedar policies | ✓ | ||
| SCIM users | ✓ | ✓ | |
| SCIM groups | ✓ | ||
| SCIM bulk changes | ✓ | ||
| Web UI | |||
| Web UI | ✓ | ✓ | |
| Sign-in in the browser (Google, Okta, Keycloak buttons) | ✓ | ||
| Sign-in on the server with OpenID Connect | ✓ | ||
| Sign-in through an auth proxy (forward auth) | ✓ | ||
| Search box | ✓ | ||
| Browse and view the files of volumes and tables | ✓ | ||
| Clients | |||
uc CLI | ✓ | ✓ | |
Terminal UI in uc | ✓ | ||
uc serve, uc dev, uc web (start a server or the web UI) | ✓ | ||
| Python client | ✓ | ✓ | Different APIs: unitycatalog-client and unitycatalog-rs |
| Java client | ✓ | ||
| Spark and Hadoop connectors | ✓ | Upstream's Spark connector works with the Rust server: CI tests it with Spark 4.1 and 4.2 | |
unitycatalog-ai (functions as LLM tools) | ✓ | ||
| Storage and operations | |||
| Embedded database | ✓ | ✓ | Java: H2. Rust: Turso |
| PostgreSQL | ✓ | ✓ | |
| MySQL | ✓ | ||
| Encrypted credential secrets | ✓ | ✓ | |
| Key rotation for credential secrets | ✓ | ||
| Settings | ✓ | ✓ | Java: etc/conf/*.properties. Rust: uc.toml and UC_* variables |
| Prometheus metrics, health probes | ✓ | ✓ | |
| Audit log | ✓ | ✓ | |
| Backup and restore | ✓ | ||
| OpenTelemetry traces | ✓ | ||
| Rate limiting | ✓ | ||
| Docker image, Helm chart | ✓ | ✓ | |
| Hardened image | ✓ | Distroless (no shell or package manager), read-only root file system in Helm, SBOM and signed provenance. Java: Alpine with bash | |
Server and web UI from pip install | ✓ | ||
| Docs site | ✓ | ✓ | |
pip install 'unitycatalog-rs[all]' # the Python client, the uc CLI, the server and the web UI
uc dev # a server on http://localhost:8080, with the web UI
uc catalog list # upstream's bin/uc commandsfrom unitycatalog import Client
client = Client("http://localhost:8080/")
print([catalog.name for catalog in client.list_catalogs()])The extras cli, server and ui install only those parts.
In a checkout of this repository, just develop builds the four packages and installs them into
.venv. just demo does the same, then runs uc dev from .venv on http://localhost:8080, with
dummy data (examples/seed_demo.py). just demo-auth adds sign-in and S3, in Docker
(examples/demo-auth): users sign in as alice or bob with FerrisKey, an OpenID Connect provider,
and the data is in RustFS, an S3-compatible store.
A setting comes from its UC_<GROUP>_<KEY> variable, else from the [group] table of uc.toml
(--config, else UC_CONFIG, else uc.toml in the working directory or a folder above):
UC_AUTH_ENABLED=true is enabled = true in [auth]. A key that is not a setting is an error.
# uc.toml
[server]
data_dir = "/var/lib/uc" # the embedded database; default .uc
[db]
url = "postgresql://uc@postgres.example.com:5432/uc?sslmode=verify-full"
[secrets]
key_file = "/etc/uc/secrets-key.pem" # the key of the secrets of credentials
[auth]
enabled = true
signing_key_file = "/etc/uc/signing-key.pem" # the key of its tokens; default a new one in memory
[[auth.issuers]] # an identity provider whose tokens the server takes
name = "google"
issuer = "https://accounts.google.com"
audiences = ["<client id>"]
[identity.aws] # the server's AWS identity; default the environment's
region = "us-east-1"
[locations.analytics] # a URL and its identity, for paths without an external location
url = "s3://analytics"
aws_iam_role_arn = "arn:aws:iam::123456789012:role/uc"helm install uc oci://ghcr.io/open-lakehouse/charts/uc-server -f values.yaml# values.yaml
server:
db:
type: postgresql # several replicas can share it; `file` is one replica
postgresqlConfig:
host: postgres.example.com
passwordSecretName: uc-db # a Secret with the database password
auth:
enabled: true
publicUrl: https://uc.example.com
oidc: # the server signs users in to the web UI
issuer: https://accounts.google.com
clientSecretName: uc-oauth # a Secret with clientId and clientSecret
users: # made at each start when missing
- email: alice@example.com
name: Alice
privileges: ["CREATE CATALOG"]
ingress:
enabled: true
host: uc.example.comThe chart runs the image ghcr.io/open-lakehouse/unitycatalog-rs: the server and the web UI on
distroless, as a non-root user on a read-only root filesystem, with an SBOM and build provenance.
values.yaml documents every setting, such as cloud storage
credentials and sign-in through an auth proxy (auth.forward).

