Repository navigation
Open
Description
Goal — feasibility only, no public sink yet
Apache's hudi-rs 0.6.0 (2026-11-03) adds native Python writes (pip install hudi), including create, append, upsert and overwrite. Evaluate Hudi as a third open-table destination after Iceberg and Delta, in Floe's single-node Polars ingestion architecture, without adding its dependency/config options to the released runtime yet.
Sources:
- https://hudi.apache.org/blog/2026/11/03/apache-hudi-rs-0-6-0-release-announcement/
- https://github.com/apache/hudi-rs/releases/tag/release-0.6.0
- https://pypi.org/project/hudi/0.6.0/
Scope
- Isolated proof of concept in
spikes/hudi/orscripts/spikes/with optional install instructions: Floe-style Polars DataFrame → Arrow stream/capsule → Hudi Python writer; prove this avoids a JVM/Spark dependency. - Test local Copy-on-Write Hudi create/append/overwrite with typed schema and partitioned/unpartitioned table; read it back using Hudi or compatible reader (ideally Spark/Trino if available) to verify interoperability.
- Test upsert semantics against a composite primary key (SCD1 feasibility), and separately explore Merge-on-Read table behavior, compaction and deletion. Do not claim SCD2 without an explicit design.
- Compare with existing Floe ingestion guarantees: per-file validation, rejected rows, commit failure/abort, retry after crash before and after Hudi commit, duplicate batches, metadata/index maintenance, schema evolution.
- Validate S3-compatible behavior separately from local POC; identify Python wheel and Arrow/Polars ABI/version constraints, unsupported Hudi table versions/layouts, and writer concurrency across processes. hudi-rs serializes writes in a process; this is NOT an inter-process locking guarantee.
- Record measured RSS, throughput, on-disk layout, maintenance obligations and operational prerequisites.
Exit criteria
- Small reproducible isolated Python example with test data and a working read-back.
- Explicit capability matrix: append, overwrite, upsert, delete, partitioning, schema evolution, local vs S3, CoW vs MoR, concurrent writes, retry identity.
- Go/no-go recommendation for a Floe Hudi accepted sink; must identify blocker bugs and support-matrix gaps.
- If go, open separate sink integration issues (config/schema, writer, runtime dispatch, conformance, docs). No Hudi support claims in README yet.
Non-goals
No new 1.1 YAML keys or dependency, no acceptance that all Hudi write modes are production-ready, no DuckDB sink, no custom JVM service, no schema contract change without maintainer review.
Metadata
Metadata
Assignees
Labels
No labels
Activity