Skip to content

[941] Document the 0.5.0 Hudi 1.x, secondary index and Iceberg table format features - #995

Merged
vinishjail97 merged 9 commits into
apache:mainfrom
vinishjail97:941-hudi-version-docs
Nov 24, 2026
Merged

vinishjail97 merged 9 commits into
apache:mainfrom
vinishjail97:941-hudi-version-docs

Conversation

@vinishjail97

@vinishjail97 vinishjail97 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

What is the purpose of the pull request

Relates to #941. Documents the features that land in 0.5.0: the move to Hudi 1.x, the secondary index for Iceberg tables, and the Iceberg pluggable table format for Hudi. It also adds the AWS Glue section for the Spark runtime jar, since from 0.5.0 the jar is built against Hudi 1.2.x and Glue 5.1 includes Hudi 1.0.2.

Brief change log

  • New page how-to-iceberg-table-format.md ("Write Hudi tables as Iceberg tables"): the jars, hoodie.table.format=ICEBERG, reading the table as either format, and the limitations (copy-on-write only, metadata table off, identity partitioning, no restore, single writer).
  • features-and-limitations.md: sections for the secondary index and the pluggable table format. The Hudi section now covers Hudi 1.2.1, the source table versions 6, 8 and 9, the target xtable.hudi.target.table_version (6 by default, or 9), and a table of the Hudi target properties.
  • how-to-index.md: retitled "Secondary index for Iceberg tables" (same URL), with the sync commands for the utilities jar and the Spark runtime jar. The utilities jar needs the Hudi Spark 3.4 bundle on the classpath to build the index.
  • how-to-spark-runtime.md: the "Running on AWS Glue" section, and a "Hudi targets" section. A Hudi target needs hudi-java-client on the classpath or xtable.hudi.target.execution.engine: spark, because the Hudi Spark bundle doesn't include the Java client.
  • Quickstart: Hudi bundle 1.2.0 to 1.2.1.

Verify this pull request

Docs only. npm run build passes. The documented commands were run on main (83e3c8e):

  • Locally with the utilities jar on Spark 3.5.9: Hudi tables written by Hudi 0.15.0 (table version 6), 1.0.2 (8) and 1.2.1 (9) synced to Iceberg and Delta, and an Iceberg table synced to Hudi at table versions 6 and 9; every target returned the same rows as its source. The index was built and then updated by an incremental sync, and a query with the XTable extensions read 3 of 41 files with the same rows as without the index. The pluggable table format returned the same rows through Hudi and Iceberg after an insert, an upsert and a delete.
  • On S3 with the Spark runtime jar on Spark 3.5.2 (Kubernetes), with TPC-DS 1TB customer (12M rows): a Hudi table version 9 source to Iceberg and Delta, and an Iceberg source to a Hudi table version 9 target, matched on row count and content hash. The index was built, then updated after an append and a delete, and point lookups of 1 to 1000 keys returned the same rows with the index on and off. The pluggable table format matched between Hudi and Iceberg on row count and content hash after an insert, an upsert and a delete.

The Glue job parameters follow the AWS documentation and were not run on Glue.

@vinishjail97 vinishjail97 changed the title [941] Document running the Spark runtime jar on AWS Glue [941] Document the 0.5.0 Hudi 1.x, secondary index and Iceberg table format features Nov 2, 2026

@vinishjail97 vinishjail97 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self Review of docs.

Comment thread website/docs/how-to-index.md Resolved

@vinishjail97 vinishjail97 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issues found using Astra Review.

Comment thread website/docs/how-to-spark-runtime.md Resolved
--class org.apache.xtable.spark.XTableSparkSync \
--conf spark.serializer=org.apache.spark.serializer.KryoSerializer \
xtable-spark-runtime_2.12-0.5.0-incubating.jar \
--datasetconfig index_config.yaml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it --datasetConfig?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for checking this! I think the lowercase form is correct here, because XTableSparkSync registers the option as datasetconfig, and commons-cli matches option names case-sensitively. RunSync uses --datasetConfig, as in the utilities command just above. Happy to align the two flags in a follow-up if that would be less confusing.

@vinishjail97
vinishjail97 merged commit 0f6ef27 into apache:main Nov 24, 2026
8 checks passed
@vinishjail97
vinishjail97 deleted the 941-hudi-version-docs branch November 24, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants