Apache Hudi
| Developer | Apache Software Foundation (originally Uber) |
|---|---|
| Latest release | 1.2.1 (2026-09-24) |
| Written in | Java (main project); Rust (hudi-rs) |
| Type | Open table format |
| License | Apache License 2.0 |
| Website | hudi.apache.org |
| Repository | github.com/apache/hudi |
| Related | Apache Iceberg, Delta Lake, Apache Parquet |
Apache Hudi (pronounced "hoodie") is an open table format and data lake platform that adds tables, transactions, record-level upserts and deletes, indexes and table services to data stored in open file formats on a data lake.[1] Hudi is designed for incremental pipelines that apply streams of changes to tables, as well as for batch workloads. It is one of the table formats used in an open lakehouse, and engines such as Apache Spark, Apache Flink and Trino can query Hudi tables.[1]
How it works
Timeline
Every change to an Apache Hudi table, including writes, table services and schema changes, is recorded as an action on the Hudi timeline. The timeline is a log of actions at points in time (instants) and is the source of truth for the state of the table. Each action has a requested instant, which acts as the transaction ID, a completed instant, a state (requested, inflight or completed) and a type.[2]
Action types on the Hudi timeline include commit, delta commit (for merge-on-read tables), replace commit, clean, compaction, log compaction, clustering, indexing and rollback.[2]
File groups and file slices
Apache Hudi organises data into file groups. An update to an existing file group produces a new file slice tied to the commit that wrote it, and an insert can start a new file group. A query checks the timeline for completed writes and reads only the latest committed file slices, so it does not see files from writes still in flight.[3]
Features
Table types
Apache Hudi has two table types, which define how writes are stored.[3]
| Table type | How updates and deletes are written | Trade-off stated in the Hudi docs |
|---|---|---|
| Copy on write (CoW) | A new base file is written in the file group; no log files are used. | Queries read only base files; writes can be slower because base files are rewritten. |
| Merge on read (MoR) | Changes go to log files, which are merged with base files at query time and folded in by periodic compaction. | Lower write latency; query performance depends on whether log files have been compacted. |
Query types
Hudi supports snapshot queries, incremental queries and read-optimized queries.[1] Incremental queries return only data written since a given instant on the timeline, with the latest value for each record key. A change data capture (CDC) form of incremental query returns inserted, updated and deleted records with before and after images and the operation that caused each change.[3]
Indexes
Apache Hudi maintains indexes that map each record key, optionally with its partition path, to the file group that holds it. For copy-on-write tables the index avoids joining incoming records against the whole table to decide which files to rewrite. For merge-on-read tables it bounds the change records each base file must be merged with. Secondary indexes build on the same mapping.[4]
Table services
Hudi runs table services that are recorded on the timeline like any other action. Cleaning removes file slices that are no longer needed, compaction merges log files into base files, and clustering rewrites file groups with a new sort order or layout.[2]
History
Hudi was originally developed at Uber, under the name "Hoodie", to support upsert and incremental consumption in Uber's ingestion, ETL and machine learning pipelines.[5] The project entered the Apache Incubator on 17 January 2019 and graduated to a top-level Apache project on 20 May 2020.[6]
The Apache Hudi download page lists release 1.2.1 as the newest version.[7] Its GitHub release was published on 24 September 2026.[8] The project also publishes patch releases on older lines; for example, 1.1.2 was published on GitHub after 1.2.1.[9]
Use in an open lakehouse
In an open lakehouse, Apache Hudi tables hold data in open file formats on cloud or object storage, with the timeline and metadata stored alongside.[1] Hudi's record-level upserts, indexes and incremental queries are aimed at pipelines that apply streams of changes and pass only changed records to downstream tables, for example between layers of a Medallion architecture.[3] Delta Lake's UniForm feature can also expose Delta tables to Hudi readers (in preview).[10]
Engine support
The Hudi documentation names Apache Spark, Apache Flink, Presto, Trino and Apache Hive as query engines for Hudi tables, with quick start guides for Spark and Flink.[1] Trino's Hudi connector requires Hudi 0.12.3 or later.[11] Hudi-rs is a native Rust implementation with Python bindings, for use outside the Java virtual machine.[1][12]
Limitations
Each Apache Hudi table type has a cost. Copy-on-write writes can be slow because a whole base file is rewritten even when only a few of its records change. Merge-on-read query performance varies with how far compaction has caught up with the log files.[3] Both table types rely on table services such as cleaning, compaction and clustering being scheduled and run.[2]
Engine support for Hudi features varies, and some connectors set a minimum Hudi version.[13]
See also
References
- ↑ 1.0 1.1 1.2 1.3 1.4 1.5 Overview. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ 2.0 2.1 2.2 2.3 Timeline. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ 3.0 3.1 3.2 3.3 3.4 Table & Query Types. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Indexes. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ HudiProposal. Apache Incubator wiki.Retrieved 2026-11-22.
- ↑ Hudi Project Incubation Status. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Download. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Release 1.2.1. GitHub.Retrieved 2026-11-22.
- ↑ Release 1.1.2. GitHub.Retrieved 2026-11-22.
- ↑ Universal Format (UniForm). Delta Lake project.Retrieved 2026-11-22.
- ↑ Hudi connector. Trino.Retrieved 2026-11-22.
- ↑ apache/hudi-rs. GitHub.Retrieved 2026-11-22.
- ↑ Hudi connector. Trino.Retrieved 2026-11-22.