Which layer belongs to Delta Lake, Iceberg, or HDFS? Following a lab result from storage to commit

August 13, 2025

An analyst opens the lab detail table and sees a platelet count of 220 for order 17. The lab has corrected it to 218. Suppose the new file has already been written. When will an analyst opening the same table see 218? That question separates saving a file from publishing a new table version. I initially compared Delta Lake with Hadoop and wondered whether Ceph should sit underneath.

Start at the table the analyst opens and work downward. Suppose Spark queries lab_results, with measured values in Parquet data files. The two branches in the middle of the diagram are alternative designs for the same table.

flowchart TD
    Q["计算引擎 · Spark<br/>查询 17 号单的血小板结果"]
    subgraph T["表格式 · 决定本次查询读哪个版本"]
        D["Delta Lake<br/>按事务日志确定表版本"]
        I["Iceberg<br/>按快照确定表版本"]
    end
    Q -->|"表采用 Delta Lake"| D
    Q -->|"表采用 Iceberg"| I
    D -->|"定位该版本的数据文件"| F["文件格式 · Parquet<br/>按列保存单号、项目和数值"]
    I -->|"定位该版本的数据文件"| F
    F -->|"文件保存在这里"| S["底层存储 · HDFS 或对象存储<br/>对象存储可选 S3 或 Ceph 对象网关"]

Read the left branch and Spark selects files from the Delta log, then reads their values from storage. On the right, it selects files using an Iceberg snapshot. Metadata such as the table log or snapshots also needs persistent storage. In our correction from 220 to 218, HDFS might already contain the new file, but the query still has to read a table version referencing it before the correction is visible.1234

What are a data lake, a data warehouse, and a lakehouse?

A data lake stores and manages different kinds of raw and processed data. Instrument exports and changes from an operational database, for example, can both live in object storage for several applications to read. A data warehouse organizes data for analytics, maintaining lab order details, department dimensions, and daily indicators under shared definitions. A lakehouse adds tables, transactional commits, and versioning to data in a lake, letting multiple engines read its files much as they would database tables. These are architectural descriptions. To compare ways of managing tables on a lake, keep object storage fixed and compare Iceberg and Delta Lake. Replacing the whole lakehouse with a managed warehouse is when you’d compare the entire chain with storage and compute inside BigQuery or Snowflake.56

If the question is “How much faster is Delta Lake than Hadoop, and do I still need Ceph?”, first hold constant the location of the lab files. Ceph’s object gateway can store them through an S3-compatible interface. An existing Hadoop cluster can store them on HDFS. Choosing Delta or Iceberg decides how the files form a versioned table. A performance comparison needs the same detail data, compute resources, and query, with the target defined: a week of reads, merging corrections, or latency from completed writes to visible reports. Component names don’t imply a universal speedup.417

For a table called lab_results, S3 answers “where are the files?”, Parquet answers “how does one file encode fields and values?”, Iceberg answers “which data files and record deletions belong to this version?”, the catalog answers “where is the table’s metadata for this name?”, and Trino or DuckDB executes the SQL for “how many results did each department produce?” You can replace the SQL engine and keep the same Iceberg table if the new engine supports the actual format version and features the table uses.189

Where is Delta Lake distributed? Can we say it is several times faster than Hadoop?

Suppose yesterday’s lab details occupy four files and today we must correct results in the first and fourth. Follow one write in three steps:

  1. Who computes? In a Spark job the driver schedules tasks. Different executors can read and transform their partitions in parallel and produce new data files. A small experiment could also be completed in one process.
  2. Where are the files? HDFS manages file blocks in a distributed filesystem. Object storage uses an object interface instead, which Ceph, for instance, can provide via a gateway. The directory or bucket a compute process writes to and the table format it uses are separate choices.43
  3. When is it visible? Delta records actions such as additions and removals in _delta_log in the table directory. Readers opening the new version see the batch only after a successful table commit. One completed task writing its file doesn’t switch the report. Concurrent writers also need a commit mechanism compatible with the storage backend to coordinate versions and conflicts.2

A Delta system can therefore use both distributed compute and distributed storage. A laptop can also write a Delta table with a transaction log in a local directory. “Distributed” means something only once you identify the step.

To compare speed, I’d fix the query as “last seven days, department and measured value columns only”. Use the same Spark version, Parquet data, partitions, and execution resources. Compare reading files directly with selecting them through table metadata, recording files scanned, bytes scanned, and elapsed time. To compare HDFS and object storage, hold the table format and file layout fixed and change only the underlying storage. Repeat reads and writes and distinguish cold reads from cache hits. The two experiments answer different questions and component names alone imply no universal multiplier.

Was Delta “the most popular”? Dremio’s 2024 State of the Data Lakehouse surveyed 500 full-time IT and data professionals in large enterprises. Of that sample, 39% reported using Delta Lake and 31% Iceberg. The report asked separately about future adoption plans. Current use and planned adoption have their own denominators, and a vendor survey is no census of global Spark jobs. It can tell us which had higher reported usage in that sample at that time.10

Is there a de facto standard? What can be substituted at each layer?

For a baseline open lakehouse shared by multiple engines, I’d choose object storage + Parquet files + Iceberg tables + a shared catalog, then select engines for the workload. Interoperability is the closest thing to a de facto standard here: Spark, Flink, Trino, and cloud products Athena and Snowflake all document Iceberg support. Scope varies. Reading a particular table version doesn’t automatically imply support for updates and deletes in the same way. This conclusion rests on published capabilities. It doesn’t estimate market share or prescribe the same compute and reporting tools for every project.6811

Architectural layerCommon choices and alternatives at the same layerWhat it means for the lab report
Object storage / distributed file systemS3 or other object storage, or HDFSStores the actual files. Choosing cloud object storage or an existing HDFS depends chiefly on deployment location, access method, and operations capabilities.35
File formatParquet and ORC are columnar. Avro is another file encodingScanning just department and order number can read less data in a columnar format. A standalone Parquet file can also be queried outside a lakehouse.19
Open table formatIceberg, Delta Lake, Hudi, PaimonManages many files as one table with commits and evolution. This is the layer for direct alternatives to Iceberg.171213
CatalogExamples include AWS Glue Data Catalog, Hive Metastore, and Nessie. Iceberg REST Catalog is an interface specification that different services can implementLets Flink writing a table and Spark or Trino reading it find current metadata by the same name. Glue Data Catalog and running Glue ETL jobs are distinct responsibilities.6814

When looking for an Iceberg alternative, which read/write workload matters?

Suppose “lab order 17 was canceled” must appear in the results table. Beyond asking whether all four formats can express updates, ask who will write the change, which engines must read it right away, and where maintenance costs fall.

  • Iceberg is worth evaluating for multi-engine sharing and snapshot-based review. Test a delete using the actual Flink write method and the deployed Trino and Spark versions rather than relying only on compatibility lists.68
  • Delta Lake manages tables with a transaction log. If the team mainly uses Spark and downstream consumers need only changed rows, evaluate its Change Data Feed. Once enabled, consumers can read inserts, updates, and deletes between table versions.7
  • Hudi is worth comparing for frequent keyed updates and incremental downstream queries. Copy-on-Write rewrites affected base files on write. Merge-on-Read can append change logs first and merge later on read or compaction. The same update’s cost lands at different stages.12
  • Paimon provides primary-key and append tables. With Flink already writing continuously, examine how a primary-key table combines successive changes for an order and how downstream jobs consume the changelog. Then verify that the team’s query engines support the features involved.13

Is the downstream process writing files or a table?

Suppose the table already contains result L91-PLT from lab LAB, initially 220. The lab sends revision two with 218. A Spark job consolidates the latest events in the batch into a temporary table incoming, with one row per source and result ID. For an Iceberg table supporting merge writes, run the Spark SQL below. Here revision is the source’s revision order for this particular result.15

MERGE INTO analytics.lab_results AS t
USING incoming AS s
ON t.source = s.source AND t.result_id = s.result_id
WHEN MATCHED AND s.revision > t.revision THEN
  UPDATE SET value = s.value, revision = s.revision
WHEN NOT MATCHED THEN
  INSERT (source, result_id, value, revision)
  VALUES (s.source, s.result_id, s.value, s.revision)

The first L91-PLT delivery takes the insert branch. A correction takes the update branch. If the old 220 arrives again, neither branch changes the current value. Deletions need separate handling with their order preserved so a stale event can’t reinsert a canceled result.

Back to order 17. To test whether storage reliably holds a file, read back the object just written. To test whether the analyst sees 218, reopen the committed table version by name and verify that the order has exactly one row with the correct value. Those are separate acceptance checks for storage and the table format.

Footnotes

  1. Apache Software Foundation. (n.d.). Iceberg table spec 与 Parquet overview. Iceberg 的快照、数据文件和删除文件 · Parquet 列式文件格式。 ↩ ↩2 ↩3 ↩4 ↩5

  2. Delta Lake contributors. (n.d.). Delta transaction log protocol, v3.3.0. GitHub. Overview、Delta Table Specification 与 Writer Requirements。 ↩ ↩2

  3. Apache Software Foundation. (n.d.). Apache Hadoop modules. Apache Hadoop. HDFS、YARN 和 MapReduce。 ↩ ↩2 ↩3

  4. Ceph contributors. (n.d.). Ceph Object Gateway. Ceph Reef Documentation. 对象网关与 S3 兼容接口。 ↩ ↩2 ↩3

  5. Amazon Web Services. (n.d.). What is a data lake? AWS. 数据湖与数据仓库。 ↩ ↩2

  6. Apache Software Foundation. (n.d.). Configuration, Queries 与 Maintenance. Apache Iceberg 1.9.2. Spark 表目录 · 按快照读取 · 快照和数据文件维护。 ↩ ↩2 ↩3 ↩4

  7. Delta Lake contributors. (n.d.). Change data feed. Delta Lake Documentation. 按表版本读取行变更。 ↩ ↩2 ↩3

  8. Apache Software Foundation. (n.d.). MySQL. Apache Flink CDC Documentation. 分块快照与日志捕获。Apache Software Foundation. (n.d.). Flink writes. Apache Iceberg 1.9.2. 按键更新的配置要求。Trino Software Foundation. (n.d.). Iceberg connector. Trino Documentation. 目录与表查询。 ↩ ↩2 ↩3 ↩4

  9. DuckDB Foundation. (n.d.). Frequently asked questions, Reading and writing Parquet files 与 Iceberg extension. DuckDB Documentation. 单机与磁盘 · Parquet 查询 · Iceberg 读取。 ↩ ↩2

  10. Dremio. (2024). The state of the data lakehouse. Dremio. 第 2 页调查样本 · 第 4、10 页关于目前使用与未来采用的调查结果。 ↩

  11. Amazon Web Services. (n.d.). Query Apache Iceberg tables. Amazon Athena User Guide. 支持范围与限制。Snowflake. (n.d.). Apache Iceberg tables. Snowflake Documentation. 表和目录支持。 ↩

  12. Apache Software Foundation. (n.d.). Table & query types. Apache Hudi Documentation. Copy-on-Write、Merge-on-Read 与增量查询。 ↩ ↩2

  13. Apache Software Foundation. (n.d.). Table types. Apache Paimon 1.2 Documentation. 主键表与追加表。 ↩ ↩2

  14. Project Nessie. (n.d.). Apache Iceberg. Project Nessie Documentation. Nessie 作为 Iceberg catalog。 ↩

  15. Apache Software Foundation. (n.d.). Spark writes. Apache Iceberg 1.9.2 Documentation. MERGE INTO 的匹配和插入规则,需要 Iceberg Spark extensions。 ↩

© 2025 borui. All rights reserved. This content may be freely reproduced, displayed, modified, or distributed with proper attribution to borui and a link to the article: borui (2025-08-13). Which layer belongs to Delta Lake, Iceberg, or HDFS? Following a lab result from storage to commit. https://caiborui.com/blog/2025-08-13-zh-delta-iceberg-hdfs-storage-entrans

@misc{borui2025-757722f4,
  author = {borui},
  title = {{Which layer belongs to Delta Lake, Iceberg, or HDFS? Following a lab result from storage to commit}},
  year = {2025},
  publisher = {borui's blog},
  url = {https://caiborui.com/blog/2025-08-13-zh-delta-iceberg-hdfs-storage-entrans}
}