Interview's MateData Engineer
Interview's Mate

Data Engineer

SQL · Spark · Lakehouse · Streaming

Visualizer

DSA Visualizer
All 32 lessons
Custom Playground
Try your own examples

Learning

System Design
31 architecture topics
SQL Learning
160 foundations → production topics
AI Engineering
160 LLM → backend topics
Data Science
160 Python → MLOps topics
Data Engineer
160 SQL → streaming topics
Docker
160 Docker learning topics
Kubernetes
160 K8s fundamentals → cloud
Java LearnSoon
Coming soon
Python Learn
Interview Q&A & internals
JavaScript Learn
Closures, async & DOM Q&A
Tech Learn
Search, practise & track Q&A
AI DSA Practice
Solve coding problems
Theme
Home
Data Engineer topics
Lesson 93/ 160
05. Data Lakehouses & Open Table Formats

Open Catalogs & Interoperability (Unity Catalog, Apache Polaris, AWS Glue, Nessie)

Share table metadata across engines with Unity, Polaris, Glue, or Nessie catalogs.

AdvancedUnity · Polaris · Glue3 quiz questions
Practice Generative AI Q&A
In plain wordsDiagramTheoryStep by stepWhen to use itInterview cluesMistakes to avoidQuiz (3)Practice

In plain words

Namespace, table, metadata authority. Next, catalog grants plus storage credential policy. Finally, lineage, access, tags, or version references.

Think of it like…

The catalog is the interlibrary master index; a borrowed library card does not open the vault if the shelf itself still requires an independent lock.

Where you’ve seen it

Trino and Spark use an Apache Polaris Iceberg REST endpoint for sales.orders; AWS IAM/S3 policy blocks direct bypass, while Unity Catalog controls grants and logs requests to governed Delta/Iceberg tables.

Words you’ll hear

Unity
Databricks' governed catalog layer for data/AI objects, permissions, lineage, and Delta/Iceberg interoperability.
Polaris
An Apache Iceberg-oriented open catalog service exposing REST APIs and cross-engine table metadata coordination.
Glue
AWS metadata catalog and Nessie's Git-like multitable reference model represent different catalog capabilities, not interchangeable file stores.
Operational boundary
Two catalogs pointing at one table can race current-metadata pointers, a proprietary endpoint can lock in optimizer/query behavior, and table ACLs in a catalog do not automatically protect direct object-store access. Choose one authoritative catalog path per table, use open REST clients where available, align object and catalog authorization, test multi-engine commit/read matrices, and use Nessie branching where Git-like isolation is required.

Visual diagram

Loading interactive diagram

Theory & deep dive

Unity: the working mechanism

Open catalogs map table names, namespaces, ownership, and metadata locations to engines, while services such as Unity Catalog, Polaris, Glue, and Nessie add permissions, audit, transactions, or Git-like reference semantics.

Namespace, table, metadata authority. Catalog grants plus storage credential policy, then atomic metadata commits and engine compatibility; this exposes the state governed by Glue.

Open Catalogs & Interoperability in one concrete design

Trino and Spark use an Apache Polaris Iceberg REST endpoint for sales.orders; AWS IAM/S3 policy blocks direct bypass, while Unity Catalog controls grants and logs requests to governed Delta/Iceberg tables.

Key takeaway: Open catalogs map table names, namespaces, ownership, and metadata locations to engines, while services such as Unity Catalog, Polaris, Glue, and Nessie add permissions, audit, transactions, or Git-like reference semantics

Open Catalogs & Interoperability: failure mode and production response

Two catalogs pointing at one table can race current-metadata pointers, a proprietary endpoint can lock in optimizer/query behavior, and table ACLs in a catalog do not automatically protect direct object-store access.

Choose one authoritative catalog path per table, use open REST clients where available, align object and catalog authorization, test multi-engine commit/read matrices, and use Nessie branching where Git-like isolation is required. Track Authority as "one current metadata pointer per table", and make Storage bypass visible to the dataset owner.

Key takeaway: Choose one authoritative catalog path per table, use open REST clients where available, align object and catalog authorization, test multi-engine commit/read matrices, and use Nessie branching where Git-like isolation is required.

How it works, step by step

Step 1 of 4
Unity

1. Register identity

Namespace, table, metadata authority. Open catalogs map table names, namespaces, ownership, and metadata locations to engines, while services such as Unity Catalog, Polaris, Glue, and Nessie add permissions, audit, transactions, or Git-like reference semantics.

namespace, table, metadata authority
Key numbers at this step
Authority
one current metadata pointer per table
Polaris
An Apache Iceberg-oriented open catalog service exposing REST APIs and cross-engine table metadata coordination.

When to use it & trade-offs

What it is

Open catalogs map table names, namespaces, ownership, and metadata locations to engines, while services such as Unity Catalog, Polaris, Glue, and Nessie add permissions, audit, transactions, or Git-like reference semantics. Trino and Spark use an Apache Polaris Iceberg REST endpoint for sales.orders; AWS IAM/S3 policy blocks direct bypass, while Unity Catalog controls grants and logs requests to governed Delta/Iceberg tables.

Why it matters: Two catalogs pointing at one table can race current-metadata pointers, a proprietary endpoint can lock in optimizer/query behavior, and table ACLs in a catalog do not automatically protect direct object-store access. Choose one authoritative catalog path per table, use open REST clients where available, align object and catalog authorization, test multi-engine commit/read matrices, and use Nessie branching where Git-like isolation is required.

When to reach for it

  • Share table metadata across engines with Unity, Polaris, Glue, or Nessie catalogs.
  • Choose Unity because it provides this capability: Databricks' governed catalog layer for data/AI objects, permissions, lineage, and Delta/Iceberg interoperability.
  • Keep evidence for Authority at "one current metadata pointer per table" so the last production stage-Audit and branch - lineage, access, tags, or version references-remains testable.

When to avoid or be careful

  • Two catalogs pointing at one table can race current-metadata pointers, a proprietary endpoint can lock in optimizer/query behavior, and table ACLs in a catalog do not automatically protect direct object-store access.
  • Do not conflate Polaris with Unity. The second concept contributes different behavior: An Apache Iceberg-oriented open catalog service exposing REST APIs and cross-engine table metadata coordination.
  • Release only after this guardrail is in place: Choose one authoritative catalog path per table, use open REST clients where available, align object and catalog authorization, test multi-engine commit/read matrices, and use Nessie branching where Git-like isolation is required.

Unity / Polaris / Glue - roles, limits, and operating cost

Unity
Best for: Databricks' governed catalog layer for data/AI objects, permissions, lineage, and Delta/Iceberg interoperability.

Strengths: Databricks' governed catalog layer for data/AI objects, permissions, lineage, and Delta/Iceberg interoperability. Open catalogs map table names, namespaces, ownership, and metadata locations to engines, while services such as Unity Catalog, Polaris, Glue, and Nessie add permissions, audit, transactions, or Git-like reference semantics.

Watch out: Two catalogs pointing at one table can race current-metadata pointers, a proprietary endpoint can lock in optimizer/query behavior, and table ACLs in a catalog do not automatically protect direct object-store access.

Polaris
Best for: An Apache Iceberg-oriented open catalog service exposing REST APIs and cross-engine table metadata coordination.

Strengths: An Apache Iceberg-oriented open catalog service exposing REST APIs and cross-engine table metadata coordination. In this workflow it supports: Coordinate - atomic metadata commits and engine compatibility.

Watch out: The operating cost is real: direct ACLs must match catalog intent.

Glue
Best for: AWS metadata catalog and Nessie's Git-like multitable reference model represent different catalog capabilities, not interchangeable file stores.

Strengths: AWS metadata catalog and Nessie's Git-like multitable reference model represent different catalog capabilities, not interchangeable file stores. Its output can be checked with Interop test.

Watch out: Operating guardrail: Choose one authoritative catalog path per table, use open REST clients where available, align object and catalog authorization, test multi-engine commit/read matrices, and use Nessie branching where Git-like isolation is required.

Interview signals & numbers to know

When this topic comes up

  • “Where is the failure boundary for Unity, and how would Authority reveal it?”
  • “Why is Polaris distinct from this behavior: AWS metadata catalog and Nessie's Git-like multitable reference model represent different catalog capabilities, not interchangeable file stores?”
  • Production clue: Two catalogs pointing at one table can race current-metadata pointers, a proprietary endpoint can lock in optimizer/query behavior, and table ACLs in a catalog do not automatically protect direct object-store access.
  • Design probe: Choose one authoritative catalog path per table, use open REST clients where available, align object and catalog authorization, test multi-engine commit/read matrices, and use Nessie branching where Git-like isolation is required.

Benchmarks & rules of thumb

Authority -
one current metadata pointer per table
Storage bypass -
direct ACLs must match catalog intent
Interop test -
read and supported write versions across every engine in production

Common mistakes & follow-ups

Common interview mistakes

  • Two catalogs pointing at one table can race current-metadata pointers, a proprietary endpoint can lock in optimizer/query behavior, and table ACLs in a catalog do not automatically protect direct object-store access.
  • Reporting success from a job exit code without checking Authority and Storage bypass.
  • Treating this example as complete without replay, rollback, or access boundaries: Trino and Spark use an Apache Polaris Iceberg REST endpoint for sales.orders; AWS IAM/S3 policy blocks direct bypass, while Unity Catalog controls grants and logs requests to governed Delta/Iceberg tables.

Likely interviewer follow-ups

  • How would you prove this contract instead of only checking that the command ran: Databricks' governed catalog layer for data/AI objects, permissions, lineage, and Delta/Iceberg interoperability.
  • What does the recovery plan do when this occurs? Two catalogs pointing at one table can race current-metadata pointers, a proprietary endpoint can lock in optimizer/query behavior, and table ACLs in a catalog do not automatically protect direct object-store access.
  • When is Unity insufficient for Storage bypass, and what does adding Polaris cost in Authority?
Interview tip: Lead with the data path and failure boundary: Open catalogs map table names, namespaces, ownership, and metadata locations to engines, while services such as Unity Catalog, Polaris, Glue, and Nessie add permissions, audit, transactions, or Git-like reference semantics. Then make the answer operational: Choose one authoritative catalog path per table, use open REST clients where available, align object and catalog authorization, test multi-engine commit/read matrices, and use Nessie branching where Git-like isolation is required.

Knowledge check

Loading quiz

Put it into practice

Practice related interview Q&A

Apply Open Catalogs & Interoperability (Unity Catalog, Apache Polaris, AWS Glue, Nessie) with data engineer interview Q&A and hands-on practice.

Open Data Engineer Q&A →Machine Learning Q&A
Previous topic
Compaction, File Sizing & Metadata Cleanup Strategies
Next topic
Query Engines for Lakehouses (Trino / Presto, StarRocks, ClickHouse, Dremio)