Platform · Open reference architecture
One catalog, many engines
Unity Catalog OSS with Spark, DuckDB, PyIceberg and Trino on Delta and Iceberg
Write once, read from whatever engine fits the question.
In one paragraph
A multi-engine catalog architecture puts an open catalog between the tables and every engine that uses them. Unity Catalog OSS stores table metadata in Postgres, exposes Delta tables through its own API and Iceberg tables through the Iceberg REST catalog specification, and vends short-lived storage credentials per table. Apache Spark, DuckDB, PyIceberg and Trino then read and write the same data without copies, and access is decided once, in the catalog.
Platform
Unity Catalog OSS with Spark, DuckDB, PyIceberg and Trino on Delta and Iceberg
Sources
Ingestion
Open lakehouse platform
Engine access
How agents, apps and people reach compute: a client session per identity.
Execution
Spark's execution modes, plus engines that read the same tables.
Data foundation
Open tables in a governed catalog, on storage you own.
Serving
Teams
When to use it
- Different teams prefer different engines for the same data.
- You want to stop copying data into a warehouse per tool.
- You want storage credentials vended per table instead of shared keys.
When to pick something else
- Expecting identical feature support in every engine: write support differs by engine, format and catalog version.
Walkthrough
How data moves through it
- 1
Create through the catalog
A Spark session configured with the Unity Catalog connector creates a managed Delta table, or an Iceberg table through the Iceberg REST endpoint.
- 2
Catalog records metadata
Unity Catalog stores the table, its location and its format in Postgres.
- 3
Credentials are vended
When an engine loads a table, the catalog returns short-lived storage credentials scoped to that table's path.
- 4
Another engine reads
DuckDB or PyIceberg connects to the same Iceberg REST endpoint and reads the table directly from object storage.
Bill of materials
Components and versions
| Capability | Component | Role in this architecture | Version | License |
|---|---|---|---|---|
| SourcesSource systems | Pipelines and notebooks | Create and update tables | ||
| ExecutionBatch and SQL | Apache Spark | Delta notebooks on Spark 4.2.0; Iceberg notebooks on Spark 4.1.3 | 4.2.0 / 4.1.3 | Apache-2.0 |
| ExecutionOther engines | PyIceberg | JVM-free Iceberg reads and writes | Apache-2.0 | |
| ExecutionOther engines | DuckDBor Trino, Apache DataFusion, Polars | Attaches the Iceberg REST endpoint for SQL reads | MIT | |
| ExecutionOther engines | Trino | Distributed SQL over the same catalog | Apache-2.0 | |
| Data foundationCatalog and credentials | Unity Catalog OSSor unitycatalog-rs, Apache Polaris, Lakekeeper | Delta API, Iceberg REST catalog and credential vending | 0.7.0 | Apache-2.0 |
| Data foundationCatalog and credentials | PostgreSQL | Catalog metadata | 16.3 | PostgreSQL |
| Data foundationOpen table format | Delta Lakeor Apache Iceberg | Catalog-managed Delta tables | Apache-2.0 | |
| Data foundationOpen table format | Apache Iceberg | Native Iceberg tables through Iceberg REST | Apache-2.0 | |
| Data foundationObject storage | RustFSor SeaweedFS, MinIO, Amazon S3 | S3-compatible storage with STS credentials | 1.0.0 | Apache-2.0 |
| ServingDashboards and notebooks | marimoor Jupyter | Reactive notebooks on :2718 and :2719 | Apache-2.0 |
People and agents
Who works with it
Data engineers
Pipelines that are correct, idempotent and cheap to rerun.
Works with: Batch and SQL, Open table format
Analysts and analytics engineers
One definition of each metric, fast SQL, and dashboards that match.
Works with: Other engines, Dashboards and notebooks, Batch and SQL
Platform engineers
A platform that is boring to run: deployable from code, observable, with identities for every person, service and agent.
Works with: Object storage, Catalog and credentials
Governance and security
Policies that hold in every engine and for every agent, lineage for audits, and least privilege by default.
Works with: Catalog and credentials
Run it
Reference code
Unity Catalog OSS on your machine with Spark, Delta and Iceberg in marimo notebooks, Postgres for metadata and RustFS for storage.
git clone https://github.com/open-lakehouse/unitycatalog-playground.git
cd unitycatalog-playground
just uc=local startA Rust implementation of the same catalog APIs, useful when you want a single binary or Helm chart.
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 commandsChapter 11 has DuckDB read the Spark-written Iceberg tables through Unity Catalog 0.7's Iceberg REST endpoint.
Caveats from the reference repos
- iceberg-spark-runtime exists only for Spark 4.0 and 4.1 at the time of writing, which is why the playground's Iceberg notebook runs Spark 4.1.3.
- The RustFS STS credential in the playground expires after 12 hours; refresh it with just uc=local rotate-creds.
- The playground needs at least 4 GB of Docker memory and is not for production.
Industry lenses
Where this architecture shows up
Each card opens the board with that industry's sources. Full industry pages: Telecommunications, Cybersecurity.
Answers
Frequently asked questions
- What is an Iceberg REST catalog?
- An HTTP API defined by the Apache Iceberg project for creating, loading and committing Iceberg tables. Any engine that speaks it can use any catalog that implements it, including Unity Catalog OSS, Apache Polaris and Lakekeeper.
- Can Spark and DuckDB share the same tables?
- Yes. Point both at the same catalog: Spark through the Unity Catalog connector or Iceberg REST, DuckDB through its Iceberg extension attached to the Iceberg REST endpoint.
- What is credential vending?
- The catalog hands an engine short-lived storage credentials scoped to one table's location when the engine loads it, so engines never hold long-lived bucket keys.
Related architectures
All architecturesPlatform
The open lakehouse on a laptop
Spark 4.3, Apache Iceberg, Unity Catalog, Kafka, Airflow, MLflow and an agent, in Docker
Platform
The agentic lakehouse
Omnigent and MLflow over sandboxed Spark Connect sessions, on Iceberg and Unity Catalog
Platform
Open data sharing
Delta Sharing servers over Unity Catalog and open tables
