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 85/ 160
05. Data Lakehouses & Open Table Formats

Open Table Formats Overview (Delta Lake vs Apache Iceberg vs Apache Hudi)

Compare Delta, Iceberg, and Hudi on transactions, time travel, and ecosystem fit.

IntermediateDelta · Iceberg · Hudi3 quiz questions
Practice Generative AI Q&A
In plain wordsDiagramTheoryStep by stepWhen to use itInterview cluesMistakes to avoidQuiz (3)Practice

In plain words

Required readers and writer transactions. Next, log, snapshots, or timelines/indexes. Finally, compaction, cleanup, catalog, and upgrades.

Think of it like…

The formats are different warehouse inventory systems over similar pallets: the boxes may be Parquet, but commit ledgers, indexing, cleaning crews, and compatible forklifts differ.

Where you’ve seen it

Delta's _delta_log is natural in Databricks/Spark, Iceberg's manifests and REST catalog fit multi-engine open standards, and Hudi's record index/CoW-MoR pipeline targets frequent CDC upserts.

Words you’ll hear

Delta
An open table protocol centered on the transaction log, Parquet data files, and strong Spark/Databricks integration.
Iceberg
An open snapshot/manifest table specification with hidden partition transforms and broad multi-engine/catalog interoperability.
Hudi
An open transactional lake format with timeline, indexing, and copy-on-write/merge-on-read table types for CDC-heavy upserts.
Operational boundary
Choosing a format from a logo ignores catalog interoperability, maintenance commands, reader versions, and whether the dominant workload is Spark MERGE, CDC indexing, or multi-engine snapshot reads. Pilot the exact Spark/Trino/Flink/warehouse readers, concurrent writers, catalog, schema evolution, time travel, and maintenance costs; choose one open protocol and avoid hand-editing metadata.

Visual diagram

Loading interactive diagram

Theory & deep dive

Delta: the working mechanism

Delta Lake, Apache Iceberg, and Apache Hudi add transactional table metadata and file lifecycle to object storage, differing in metadata trees, engine support, update/merge optimizations, and streaming CDC models.

Required readers and writer transactions. Log, snapshots, or timelines/indexes, then MERGE, schema evolution, concurrency, and CDF; this exposes the state governed by Hudi.

Open Table Formats Overview in one concrete design

Delta's _delta_log is natural in Databricks/Spark, Iceberg's manifests and REST catalog fit multi-engine open standards, and Hudi's record index/CoW-MoR pipeline targets frequent CDC upserts.

Key takeaway: Delta Lake, Apache Iceberg, and Apache Hudi add transactional table metadata and file lifecycle to object storage, differing in metadata trees, engine support, update/merge optimizations, and streaming CDC models

Open Table Formats Overview: failure mode and production response

Choosing a format from a logo ignores catalog interoperability, maintenance commands, reader versions, and whether the dominant workload is Spark MERGE, CDC indexing, or multi-engine snapshot reads.

Pilot the exact Spark/Trino/Flink/warehouse readers, concurrent writers, catalog, schema evolution, time travel, and maintenance costs; choose one open protocol and avoid hand-editing metadata. Track Commit latency as "metadata and writer contention per batch", and make Time travel retention visible to the dataset owner.

Key takeaway: Pilot the exact Spark/Trino/Flink/warehouse readers, concurrent writers, catalog, schema evolution, time travel, and maintenance costs; choose one open protocol and avoid hand-editing metadata.

How it works, step by step

Step 1 of 4
Delta

1. Inventory engines

Required readers and writer transactions. Delta Lake, Apache Iceberg, and Apache Hudi add transactional table metadata and file lifecycle to object storage, differing in metadata trees, engine support, update/merge optimizations, and streaming CDC models.

required readers and writer transactions
Key numbers at this step
Commit latency
metadata and writer contention per batch
Iceberg
An open snapshot/manifest table specification with hidden partition transforms and broad multi-engine/catalog interoperability.

When to use it & trade-offs

What it is

Delta Lake, Apache Iceberg, and Apache Hudi add transactional table metadata and file lifecycle to object storage, differing in metadata trees, engine support, update/merge optimizations, and streaming CDC models. Delta's _delta_log is natural in Databricks/Spark, Iceberg's manifests and REST catalog fit multi-engine open standards, and Hudi's record index/CoW-MoR pipeline targets frequent CDC upserts.

Why it matters: Choosing a format from a logo ignores catalog interoperability, maintenance commands, reader versions, and whether the dominant workload is Spark MERGE, CDC indexing, or multi-engine snapshot reads. Pilot the exact Spark/Trino/Flink/warehouse readers, concurrent writers, catalog, schema evolution, time travel, and maintenance costs; choose one open protocol and avoid hand-editing metadata.

When to reach for it

  • Compare Delta, Iceberg, and Hudi on transactions, time travel, and ecosystem fit.
  • Choose Delta because it provides this capability: An open table protocol centered on the transaction log, Parquet data files, and strong Spark/Databricks integration.
  • Keep evidence for Commit latency at "metadata and writer contention per batch" so the last production stage-Operate - compaction, cleanup, catalog, and upgrades-remains testable.

When to avoid or be careful

  • Choosing a format from a logo ignores catalog interoperability, maintenance commands, reader versions, and whether the dominant workload is Spark MERGE, CDC indexing, or multi-engine snapshot reads.
  • Do not conflate Iceberg with Delta. The second concept contributes different behavior: An open snapshot/manifest table specification with hidden partition transforms and broad multi-engine/catalog interoperability.
  • Release only after this guardrail is in place: Pilot the exact Spark/Trino/Flink/warehouse readers, concurrent writers, catalog, schema evolution, time travel, and maintenance costs; choose one open protocol and avoid hand-editing metadata.

Delta / Iceberg / Hudi - roles, limits, and operating cost

Delta
Best for: An open table protocol centered on the transaction log, Parquet data files, and strong Spark/Databricks integration.

Strengths: An open table protocol centered on the transaction log, Parquet data files, and strong Spark/Databricks integration. Delta Lake, Apache Iceberg, and Apache Hudi add transactional table metadata and file lifecycle to object storage, differing in metadata trees, engine support, update/merge optimizations, and streaming CDC models.

Watch out: Choosing a format from a logo ignores catalog interoperability, maintenance commands, reader versions, and whether the dominant workload is Spark MERGE, CDC indexing, or multi-engine snapshot reads.

Iceberg
Best for: An open snapshot/manifest table specification with hidden partition transforms and broad multi-engine/catalog interoperability.

Strengths: An open snapshot/manifest table specification with hidden partition transforms and broad multi-engine/catalog interoperability. In this workflow it supports: Pilot workloads - MERGE, schema evolution, concurrency, and CDF.

Watch out: The operating cost is real: snapshots/files retained before metadata cleanup.

Hudi
Best for: An open transactional lake format with timeline, indexing, and copy-on-write/merge-on-read table types for CDC-heavy upserts.

Strengths: An open transactional lake format with timeline, indexing, and copy-on-write/merge-on-read table types for CDC-heavy upserts. Its output can be checked with Compatibility matrix.

Watch out: Operating guardrail: Pilot the exact Spark/Trino/Flink/warehouse readers, concurrent writers, catalog, schema evolution, time travel, and maintenance costs; choose one open protocol and avoid hand-editing metadata.

Interview signals & numbers to know

When this topic comes up

  • “Where is the failure boundary for Delta, and how would Commit latency reveal it?”
  • “Why is Iceberg distinct from this behavior: an open transactional lake format with timeline, indexing, and copy-on-write/merge-on-read table types for CDC-heavy upserts?”
  • Production clue: Choosing a format from a logo ignores catalog interoperability, maintenance commands, reader versions, and whether the dominant workload is Spark MERGE, CDC indexing, or multi-engine snapshot reads.
  • Design probe: Pilot the exact Spark/Trino/Flink/warehouse readers, concurrent writers, catalog, schema evolution, time travel, and maintenance costs; choose one open protocol and avoid hand-editing metadata.

Benchmarks & rules of thumb

Commit latency -
metadata and writer contention per batch
Time travel retention -
snapshots/files retained before metadata cleanup
Compatibility matrix -
engine versions, catalogs, and features, not only file readability

Common mistakes & follow-ups

Common interview mistakes

  • Choosing a format from a logo ignores catalog interoperability, maintenance commands, reader versions, and whether the dominant workload is Spark MERGE, CDC indexing, or multi-engine snapshot reads.
  • Reporting success from a job exit code without checking Commit latency and Time travel retention.
  • Treating this example as complete without replay, rollback, or access boundaries: Delta's _delta_log is natural in Databricks/Spark, Iceberg's manifests and REST catalog fit multi-engine open standards, and Hudi's record index/CoW-MoR pipeline targets frequent CDC upserts.

Likely interviewer follow-ups

  • How would you prove this contract instead of only checking that the command ran: An open table protocol centered on the transaction log, Parquet data files, and strong Spark/Databricks integration.
  • What does the recovery plan do when this occurs? Choosing a format from a logo ignores catalog interoperability, maintenance commands, reader versions, and whether the dominant workload is Spark MERGE, CDC indexing, or multi-engine snapshot reads.
  • When is Delta insufficient for Time travel retention, and what does adding Iceberg cost in Commit latency?
Interview tip: Lead with the data path and failure boundary: Delta Lake, Apache Iceberg, and Apache Hudi add transactional table metadata and file lifecycle to object storage, differing in metadata trees, engine support, update/merge optimizations, and streaming CDC models. Then make the answer operational: Pilot the exact Spark/Trino/Flink/warehouse readers, concurrent writers, catalog, schema evolution, time travel, and maintenance costs; choose one open protocol and avoid hand-editing metadata.

Knowledge check

Loading quiz

Put it into practice

Practice related interview Q&A

Apply Open Table Formats Overview (Delta Lake vs Apache Iceberg vs Apache Hudi) with data engineer interview Q&A and hands-on practice.

Open Data Engineer Q&A →Machine Learning Q&A
Previous topic
Limitations of Traditional Hive Tables (Lack of ACID, Schema Evolution Issues)
Next topic
Delta Lake Architecture (Transaction Log _delta_log, ACID Guarantees)