This is an automated email from the ASF dual-hosted git repository.

vinishjail97 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-xtable.git


The following commit(s) were added to refs/heads/main by this push:
     new 0f6ef27e [941] Document the 0.5.0 Hudi 1.x, secondary index and 
Iceberg table format features (#995)
0f6ef27e is described below

commit 0f6ef27e9e5d20cf662b93faa0ea6bc239759af8
Author: Vinish Reddy <[email protected]>
AuthorDate: Tue Nov 24 23:21:48 2026 +0530

    [941] Document the 0.5.0 Hudi 1.x, secondary index and Iceberg table format 
features (#995)
    
    * [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
    
    * [941] Document the Delta Kernel jars the Spark runtime needs on Spark 3.5
    
    * [941] Use the released 0.5.0 jars in the docs and note the Iceberg 
runtime the Hudi writer needs
    
    * Address review feedback on the 0.5.0 feature docs
    
    * Scope the 0.4.0 jar to Hudi 0.14.x and describe archive as snapshot 
expiration
    
    * Use hoodie.table.ordering.fields in the Iceberg table format example
---
 website/docs/features-and-limitations.md    |  21 ++++-
 website/docs/how-to-iceberg-table-format.md | 128 ++++++++++++++++++++++++++++
 website/docs/how-to-index.md                |  53 +++++++++---
 website/docs/how-to-spark-runtime.md        |  57 +++++++++++--
 website/docs/how-to.md                      |   2 +-
 website/sidebars.js                         |   3 +-
 6 files changed, 241 insertions(+), 23 deletions(-)

diff --git a/website/docs/features-and-limitations.md 
b/website/docs/features-and-limitations.md
index 806c9e2a..f9689ac5 100644
--- a/website/docs/features-and-limitations.md
+++ b/website/docs/features-and-limitations.md
@@ -27,15 +27,34 @@ In addition to synchronizing table format metadata, Apache 
XTable™ (Incubating
 This reduces friction by eliminating the manual step of registering tables in 
multiple catalogs and enhances flexibility by avoiding catalog lock-in.
 HMS and AWS Glue are the two catalogs supported right now, support for other 
catalogs (Unity, Apache Polaris, Apache Gravitino, DataHub) coming soon. 
 
+### Secondary index for Iceberg tables
+A sync to a Hudi target can build a secondary index on a column of an Iceberg 
source table, and each later sync updates the index.
+The index is stored as a Hudi metadata table under the data path of the table.
+For a point lookup, the index returns the exact data files that hold the 
matching rows, so Spark sessions with the XTable Spark SQL extensions read only 
those files instead of scanning the table.
+See [Secondary index for Iceberg tables](/docs/how-to-index).
+
+### Writing Hudi tables as Iceberg tables
+The `xtable-iceberg-pluggable-tf` module plugs Iceberg into Hudi's pluggable 
table format support, so a Hudi writer commits an Iceberg snapshot with each 
Hudi commit and the table reads as an Iceberg table without a sync job.
+See [Write Hudi tables as Iceberg tables](/docs/how-to-iceberg-table-format).
+
 
 ## Limitations and Compatibility Notes
 ### General
 - Only Copy-on-Write or Read-Optimized views of tables are currently 
supported. This means that only the underlying parquet files are synced but log 
files from Hudi and [delete 
vectors](https://docs.delta.io/latest/delta-deletion-vectors.html#:~:text=Deletion%20vectors%20indicate%20changes%20to,is%20run%20on%20the%20table.)
 from Delta and Iceberg are not captured by the sync.
 
 ### Hudi
-- Hudi 0.14.0 or later is required when reading a Hudi target table. Users 
will also need to enable 
+- XTable uses Hudi 1.2.1. As a source, it reads Hudi tables of table version 6 
(written by Hudi 0.14.x and 0.15.x), 8 (Hudi 1.0.x) and 9 (Hudi 1.1.x and 
1.2.x) without upgrading them.
+- As a target, XTable writes table version 6 by default. Set the target 
property `xtable.hudi.target.table_version` to `9` to write the Hudi 1.x 
timeline and the version 2 column statistics index instead. Table versions 6 
and 9 are the only supported values.
+- Hudi 0.14.0 or later is required when reading a table version 6 Hudi target 
table, and Hudi 1.1.0 or later for a table version 9 target. Users will also 
need to enable 
   - the metadata table (`hoodie.metadata.enable=true`) and 
   - hive style partitioning 
(`hoodie.datasource.write.hive_style_partitioning=true`) wherever applicable 
when reading the data.
+- Hudi targets accept these target properties, which are set per table under 
`targetProperties.HUDI` in the dataset config of `RunSync` and 
`XTableSparkSync`:
+
+  | Property | Default | Meaning |
+  |---|---|---|
+  | `xtable.hudi.target.table_version` | `6` | Hudi table version to write, 
`6` or `9` |
+  | `xtable.hudi.target.execution.engine` | `java` | Engine that writes the 
Hudi commit and the metadata table indexes, `java` or `spark` |
+  | `xtable.hudi.target.secondary.index.column` | | Column to build a 
[secondary index](/docs/how-to-index) on. Needs table version `9` and the 
`spark` engine |
 - Be sure to enable `parquet.avro.write-old-list-structure=false` for proper 
compatibility with lists when syncing from Hudi to Iceberg.
 - When using Hudi as the source for an Iceberg target, you may require field 
IDs set in the parquet schema. To enable that, follow the instructions 
[here](https://github.com/apache/incubator-xtable/tree/main/xtable-hudi-support/xtable-hudi-support-extensions).
 
diff --git a/website/docs/how-to-iceberg-table-format.md 
b/website/docs/how-to-iceberg-table-format.md
new file mode 100644
index 00000000..f15fe9ad
--- /dev/null
+++ b/website/docs/how-to-iceberg-table-format.md
@@ -0,0 +1,128 @@
+---
+sidebar_position: 5
+title: "Write Hudi tables as Iceberg tables"
+---
+
+# Write Hudi tables as Iceberg tables
+
+Apache Hudi 1.1 added pluggable table formats 
([RFC-93](https://github.com/apache/hudi/blob/master/rfc/rfc-93/rfc-93.md)):
+a Hudi writer can keep the metadata of another table format next to its own, 
in the same commit.
+Apache XTable™ (Incubating) provides the Apache Iceberg implementation in the
+`xtable-iceberg-pluggable-tf` module. With it, every Hudi write, clean, 
rollback and savepoint
+also commits an Iceberg snapshot under the table base path, so the table reads 
as a standard
+Iceberg table right after the write, without a separate sync job. When Hudi 
archives instants,
+the module expires the Iceberg snapshots of those instants.
+
+The Iceberg metadata is the source of truth for the table. A Hudi commit is 
visible only after its
+Iceberg snapshot is committed: a Hudi commit without an Iceberg snapshot is 
treated as pending and
+is rolled back by the next write, and a failed Iceberg commit fails the Hudi 
operation.
+
+## Setting up Spark
+
+The Iceberg table format requires Apache Hudi 1.2.x. In addition to the Hudi 
Spark bundle, the
+Spark job needs the `xtable-iceberg-pluggable-tf` jar, its XTable dependencies 
(`xtable-core`,
+`xtable-api` and `xtable-hudi-support-utils`) and the Iceberg Spark runtime. 
The XTable jars are
+available on Maven Central from 0.5.0:
+
+```shell md title="shell"
+REPO=https://repo1.maven.org/maven2/org/apache/xtable
+VERSION=0.5.0-incubating
+curl -O 
$REPO/xtable-iceberg-pluggable-tf_2.12/$VERSION/xtable-iceberg-pluggable-tf_2.12-$VERSION.jar
+curl -O $REPO/xtable-core_2.12/$VERSION/xtable-core_2.12-$VERSION.jar
+curl -O $REPO/xtable-api/$VERSION/xtable-api-$VERSION.jar
+curl -O 
$REPO/xtable-hudi-support-utils/$VERSION/xtable-hudi-support-utils-$VERSION.jar
+```
+
+The XTable jars do not bundle Iceberg, so the Iceberg Spark runtime is 
required. The Hudi writer
+uses it to commit each snapshot, and the same Spark session can read the table 
as Iceberg. The
+example below is for Spark 3.5; use the Hudi and Iceberg bundles that match 
the Spark version.
+
+```shell md title="shell"
+XTABLE_JARS=xtable-iceberg-pluggable-tf_2.12-$VERSION.jar,\
+xtable-core_2.12-$VERSION.jar,\
+xtable-api-$VERSION.jar,\
+xtable-hudi-support-utils-$VERSION.jar
+
+spark-shell \
+  --jars 
$XTABLE_JARS,hudi-spark3.5-bundle_2.12-1.2.1.jar,iceberg-spark-runtime-3.5_2.12-1.9.2.jar
 \
+  --conf spark.serializer=org.apache.spark.serializer.KryoSerializer \
+  --conf 
spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension \
+  --conf spark.kryo.registrator=org.apache.spark.HoodieSparkKryoRegistrar
+```
+
+`spark-submit` takes the same `--jars` and `--conf` options.
+
+:::caution Every writer needs the jars
+Hudi loads the table format through the Java `ServiceLoader`. When the
+`xtable-iceberg-pluggable-tf` jar is not on the classpath, Hudi does not fail: 
it falls back to its
+native format, even when `hoodie.table.format` is `ICEBERG`. The commits of 
that writer have no
+Iceberg snapshot, so the next writer that has the jars rolls them back. Add 
the jars to every job
+that writes the table, including table services such as clean and clustering 
that run in separate
+jobs.
+:::
+
+## Creating a table
+
+Set `hoodie.table.format=ICEBERG` on the first write. Hudi stores the format in
+`hoodie.properties`, so later writes do not repeat it. The Hudi metadata table 
must stay off on
+every write (see [Limitations](#limitations)).
+
+```scala md title="scala"
+val basePath = "s3://example-warehouse/db/trips"
+
+df.write.format("hudi")
+  .option("hoodie.table.name", "trips")
+  .option("hoodie.datasource.write.recordkey.field", "id")
+  .option("hoodie.table.ordering.fields", "ts")
+  .option("hoodie.datasource.write.partitionpath.field", "city")
+  .option("hoodie.table.format", "ICEBERG")
+  .option("hoodie.metadata.enable", "false")
+  .mode("append")
+  .save(basePath)
+```
+
+Upserts, deletes, insert overwrite, clean, clustering, rollbacks and 
savepoints work as on any Hudi
+table.
+
+`hoodie.metadata.enable` is a writer setting, and Hudi enables the metadata 
table on every write
+that does not set it to `false`, even when earlier writes of the table did. 
Such a write builds
+the metadata table and its commit fails; the next write with the setting off 
removes the metadata
+table and rolls the failed commit back. A DataFrame write passes the setting 
as an option, as in
+the example above. A Spark SQL session sets it once, before any `UPDATE`, 
`DELETE`, `MERGE INTO` or
+procedure call:
+
+```sql md title="sql"
+SET hoodie.metadata.enable=false;
+```
+
+## Reading the table
+
+The same base path reads as both formats:
+
+```scala md title="scala"
+spark.read.format("hudi").load(basePath)
+spark.read.format("iceberg").load(basePath)
+```
+
+The Iceberg metadata is under `metadata/` in the base path, so any engine that 
reads
+Iceberg tables by path, or a catalog that registers the latest `metadata.json` 
file, reads the
+table without Hudi.
+
+## Limitations
+
+- Copy-on-write tables only. Hudi refuses to load a merge-on-read table with 
this format.
+- The Hudi metadata table must stay off (`hoodie.metadata.enable=false`). A 
commit on a table that
+  has a metadata table fails, and the next write rolls it back.
+- Identity partitioning only. Timestamp-based and custom key generators with 
typed partition
+  fields are refused.
+- Restore is refused before it changes the table.
+- Spark SQL `UPDATE` fails on a table whose record key column is `NOT NULL`, 
for example one
+  created from a Scala DataFrame with a primitive key column, with `Cannot add 
field id as an
+  identifier field: not a required field`. `DELETE`, `MERGE INTO` and 
DataFrame upserts work on
+  such a table, and `UPDATE` works on a table created with `CREATE TABLE` in 
Spark SQL.
+- Multi-writer is not supported. Only one job can write the table at a time, 
including table
+  services.
+- The Iceberg table uses format version 2.
+- Hudi is the only supported writer. Any engine can read the table as Iceberg, 
but writes must go
+  through Hudi. A snapshot that an Iceberg writer commits directly is not 
recorded on the Hudi
+  timeline, so Hudi readers and writers do not see its data.
diff --git a/website/docs/how-to-index.md b/website/docs/how-to-index.md
index 1a8c517d..d15f9074 100644
--- a/website/docs/how-to-index.md
+++ b/website/docs/how-to-index.md
@@ -1,13 +1,13 @@
 ---
 sidebar_position: 4
-title: "Index Iceberg tables"
+title: "Secondary index for Iceberg tables"
 ---
 
-# Index Iceberg tables
+# Secondary index for Iceberg tables
 
 Apache XTable™ (Incubating) can keep a secondary index on a column of an 
Apache Iceberg table. The
 index maps each value of the column to the data files that hold it, and is 
stored as an Apache Hudi
-metadata table under `.hoodie/` in the data folder of the table. Using an 
index takes two parts:
+metadata table under `.hoodie/` in the data path of the table. Using an index 
takes two parts:
 
 1. An XTable sync job [builds the index and keeps it 
current](#building-the-index-with-a-sync-job).
 2. Spark sessions with the XTable Spark SQL extensions [use the 
index](#querying-with-the-index) for
@@ -36,6 +36,33 @@ datasets:
         xtable.hudi.target.secondary.index.column: c_email_address
 ```
 
+Run the sync with the jar that fits the deployment:
+
+- The utilities jar runs `RunSync` as a standalone Java process, for example a 
scheduled job or a
+  service outside Spark. It builds the index in a local Spark session on one 
machine.
+- The Spark runtime jar runs `XTableSparkSync` on an existing Spark cluster, 
so the index build is
+  distributed across the executors.
+
+```shell md title="shell"
+# utilities jar, built from source, which starts a local Spark session for the
+# index build. It bundles Spark 3.4, so add the Hudi Spark 3.4 bundle for the
+# Spark engine.
+java -cp 
xtable-utilities/target/xtable-utilities_2.12-<version>-bundled.jar:hudi-spark3.4-bundle_2.12-1.2.1.jar
 \
+  org.apache.xtable.utilities.RunSync \
+  --datasetConfig index_config.yaml
+
+# Spark runtime jar, on a Spark cluster
+$SPARK_HOME/bin/spark-submit \
+  --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
+```
+
+The Spark runtime jar needs the Hudi Spark bundle and the Iceberg libraries on 
the classpath, as
+described in [Setting up Spark](#setting-up-spark). Use it for large tables, 
because the index
+build reads every data file of the table and the utilities jar runs it on one 
machine.
+
 The first sync builds the index from the current snapshot of the table, and 
each later sync adds
 the changes of the new snapshots.
 
@@ -43,8 +70,8 @@ the changes of the new snapshots.
   change. A sync with another column fails before it commits.
 - Other `xtable.hudi.target.*` settings tune the index, for example the
   `xtable.hudi.target.metadata.record.index.*` file group counts.
-- To remove the index, remove the Hudi target from the sync job and delete the 
`.hoodie/` folder in
-  the data folder of the table. The data files of the table are not changed. A 
later sync with
+- To remove the index, remove the Hudi target from the sync job and delete 
`.hoodie/` under the
+  data path of the table. The data files of the table are not changed. A later 
sync with
   another column builds a new index.
 
 ## Querying with the index
@@ -52,19 +79,15 @@ the changes of the new snapshots.
 ### Setting up Spark
 
 The extensions need Spark 3.x with Scala 2.12, the Iceberg Spark runtime and 
the Hudi Spark bundle.
-They ship in the [XTable Spark runtime jar](how-to-spark-runtime), so no other 
XTable jar is needed.
-Until a release includes them, build the jar from source:
-
-```shell
-./mvnw -pl xtable-spark-runtime -am package -DskipTests
-```
+They ship in the [XTable Spark runtime jar](how-to-spark-runtime) from 0.5.0, 
so no other XTable
+jar is needed.
 
 Put these jars on the classpath of the driver and the executors. Use
 `spark.driver.extraClassPath` and `spark.executor.extraClassPath` rather than 
`--jars`, so that
 XTable and Hudi are loaded by the same class loader. The versions below are 
for Spark 3.5; use the
 bundles that match your Spark version.
 
-- `xtable-spark-runtime/target/xtable-spark-runtime_2.12-<version>.jar`
+- `org.apache.xtable:xtable-spark-runtime_2.12:0.5.0-incubating`
 - `org.apache.hudi:hudi-spark3.5-bundle_2.12:1.2.1`
 - `org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.9.2`
 
@@ -81,7 +104,7 @@ The extensions work with any Iceberg catalog that Spark is 
configured with.
 ### Running queries
 
 The extensions find the index by themselves: when a query filters an Iceberg 
table, they look for
-the Hudi metadata in the data folder of the table. When a filter compares an 
indexed column with
+the Hudi metadata in the data path of the table. When a filter compares an 
indexed column with
 literals, for example `email = 'x'` or `email IN ('x', 'y')`, possibly 
combined with other filters
 by `AND`, the extensions look the values up in the index and read only the 
files that hold them.
 The query returns the same rows as without the index.
@@ -99,7 +122,9 @@ spark.table("prod.db.customer").where(col("c_email_address") 
== "[email protected]")
 
spark.read.format("iceberg").load("prod.db.customer").where(col("c_email_address")
 == "[email protected]")
 ```
 
-The driver log shows for each query whether the index was used and how many 
files it selected.
+At the `INFO` level of the `org.apache.xtable` logger, the driver log shows 
for each query
+whether the index was used and how many files it selected, for example
+`Using the index of prod.db.customer on c_email_address for 1 keys: reading 1 
of 64 candidate files`.
 
 ### When the index is not used
 
diff --git a/website/docs/how-to-spark-runtime.md 
b/website/docs/how-to-spark-runtime.md
index 82f2b663..6edb5f6c 100644
--- a/website/docs/how-to-spark-runtime.md
+++ b/website/docs/how-to-spark-runtime.md
@@ -18,16 +18,22 @@ process or a separate cluster to keep a table interoperable 
across formats.
 ## Getting the jar
 
 The jar is published to Maven Central as
-`org.apache.xtable:xtable-spark-runtime_2.12:0.4.0-incubating`. Download it 
once:
+`org.apache.xtable:xtable-spark-runtime_2.12:0.5.0-incubating`. Download it 
once:
 
 ```shell md title="shell"
-curl -O 
https://repo1.maven.org/maven2/org/apache/xtable/xtable-spark-runtime_2.12/0.4.0-incubating/xtable-spark-runtime_2.12-0.4.0-incubating.jar
+curl -O 
https://repo1.maven.org/maven2/org/apache/xtable/xtable-spark-runtime_2.12/0.5.0-incubating/xtable-spark-runtime_2.12-0.5.0-incubating.jar
 ```
 
 Every engine dependency is `provided`, so the jar is about 4 MB and reuses the 
Hudi, Iceberg and
 Delta libraries your cluster already has. See the 
[Downloads](/releases/downloads) page for the
 full list of releases.
 
+From 0.5.0, the jar is built against Hudi 1.2.x, so a sync with a Hudi source 
or target needs the
+Hudi 1.2.x Spark bundle on the classpath. Hudi 1.2.x reads tables written by 
Hudi 0.14.x, 0.15.x
+and 1.0.x without upgrading them. Use the 0.4.0 jar on a cluster that has to 
stay on Hudi 0.14.x.
+The 0.4.0 jar does not work with Hudi 0.15.x or later: a sync with a Hudi 
source fails with
+`NoSuchMethodError` 
([#941](https://github.com/apache/incubator-xtable/issues/941)).
+
 ## Adding the sync to a Spark job
 
 This is what the jar is for. Your job already writes a table in one format, 
and you want that same
@@ -37,7 +43,7 @@ Add the jar to the `spark-submit` you already use, alongside 
your application ja
 
 ```shell md title="shell"
 $SPARK_HOME/bin/spark-submit \
-  --jars xtable-spark-runtime_2.12-0.4.0-incubating.jar \
+  --jars xtable-spark-runtime_2.12-0.5.0-incubating.jar \
   --class com.example.OrdersJob \
   orders-job.jar
 ```
@@ -133,7 +139,7 @@ bundle. Pass the jar as the application jar rather than 
with `--jars`:
 $SPARK_HOME/bin/spark-submit \
   --class org.apache.xtable.spark.XTableSparkSync \
   --master 'local[*]' \
-  xtable-spark-runtime_2.12-0.4.0-incubating.jar \
+  xtable-spark-runtime_2.12-0.5.0-incubating.jar \
   --basepath /path/to/hudi_table \
   --sourceformat HUDI \
   --targets ICEBERG,DELTA
@@ -167,7 +173,7 @@ datasets:
 ```shell md title="shell"
 $SPARK_HOME/bin/spark-submit \
   --class org.apache.xtable.spark.XTableSparkSync \
-  xtable-spark-runtime_2.12-0.4.0-incubating.jar \
+  xtable-spark-runtime_2.12-0.5.0-incubating.jar \
   --datasetconfig my_config.yaml
 ```
 
@@ -185,10 +191,24 @@ A table entry can also set `targetProperties`, keyed by 
target format, for examp
 | `--datapath` | Path to the data files, when it differs from the base path. |
 | `--tablename` | Table name. Defaults to the last segment of the base path. |
 | `--namespace` | Dot-separated table namespace. |
-| `--partitionspec` | Hudi source partition field spec, for example 
`level:VALUE`. |
+| `--partitionspec` | Partition field spec of a Hudi or Parquet source, for 
example `level:VALUE`. |
 | `--usedeltakernel` | Force Delta Kernel for a Delta source or target. |
 | `--help` | Print the usage text. |
 
+## Hudi targets
+
+A sync to a Hudi target writes the Hudi commit with Hudi's Java client by 
default, and the Hudi
+Spark bundle doesn't include it. When the sync has a Hudi target, do one of 
these:
+
+- Add `org.apache.hudi:hudi-java-client:1.2.1` to the classpath, next to the 
Hudi Spark bundle.
+- Use Hudi's Spark client, which the bundle includes, by setting
+  `xtable.hudi.target.execution.engine: spark` in the `targetProperties` of 
each table in
+  `--datasetconfig`, or in the `targetProperties` of the `TableSyncSpec`.
+
+Without either, the sync fails with
+`NoClassDefFoundError: org/apache/hudi/client/common/HoodieJavaEngineContext`. 
See
+[Hudi](/docs/features-and-limitations#hudi) for the other Hudi target 
properties.
+
 ## Supported formats
 
 Paimon and Parquet are read-only sources; XTable does not write either format 
as a target.
@@ -216,6 +236,31 @@ Delta Standalone doesn't run on Spark 3.5, so on 3.5 and 
newer a Delta source or
 through Delta Kernel with no flag needed. If you want Kernel on Spark 3.4 as 
well, pass
 `--usedeltakernel`, or set `.useDeltaKernel(true)` on the `TableSyncSpec`.
 
+Delta Kernel is not part of the Delta Spark jars. When the sync uses Kernel, 
add
+`io.delta:delta-kernel-api:4.0.0` and `io.delta:delta-kernel-defaults:4.0.0` 
to the classpath, or
+the sync fails with `NoClassDefFoundError: io/delta/kernel/engine/Engine`.
+
+## Running on AWS Glue
+
+From 0.5.0, the jar is built against Hudi 1.2.x, and a sync job with a Hudi 
source or target uses
+Hudi 1.2.x. AWS Glue 5.1 includes Hudi 1.0.2, and Glue documents how to
+[use a different Hudi 
version](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-format-hudi.html)
+in a job. For the sync job:
+
+- Pass the XTable jar and `hudi-spark3.5-bundle_2.12` 1.2.x with 
`--extra-jars`.
+- Set `--user-jars-first` to `true`.
+- Leave `hudi` out of `--datalake-formats`, so that Glue does not add its own 
Hudi jars.
+
+```text md title="Glue job parameters"
+--extra-jars       
s3://<bucket>/jars/xtable-spark-runtime_2.12-0.5.0-incubating.jar,s3://<bucket>/jars/hudi-spark3.5-bundle_2.12-1.2.1.jar
+--user-jars-first  true
+--conf             spark.serializer=org.apache.spark.serializer.KryoSerializer
+```
+
+The sync also needs the Iceberg or Delta libraries for its targets, as it does 
on any other Spark
+cluster, and a sync to a Hudi target needs the setup in [Hudi 
targets](#hudi-targets). Your other Glue jobs can keep writing the table with 
the Hudi version they already use,
+because Hudi 1.2.x reads tables written by Hudi 0.15.x and 1.0.x without 
upgrading them.
+
 ## Next steps
 
 - See the [Quickstart](/docs/how-to) for an end-to-end interoperability 
walkthrough.
diff --git a/website/docs/how-to.md b/website/docs/how-to.md
index 3e724b7f..9c503f4d 100644
--- a/website/docs/how-to.md
+++ b/website/docs/how-to.md
@@ -55,7 +55,7 @@ values={[
 
 ```shell md title="shell"
 pyspark \
-  --packages org.apache.hudi:hudi-spark3.4-bundle_2.12:1.2.0 \
+  --packages org.apache.hudi:hudi-spark3.4-bundle_2.12:1.2.1 \
   --conf "spark.serializer=org.apache.spark.serializer.KryoSerializer" \
   --conf 
"spark.sql.catalog.spark_catalog=org.apache.spark.sql.hudi.catalog.HoodieCatalog"
 \
   --conf 
"spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension"
diff --git a/website/sidebars.js b/website/sidebars.js
index 729e99ec..7f2af9c1 100644
--- a/website/sidebars.js
+++ b/website/sidebars.js
@@ -21,7 +21,8 @@ module.exports = {
                 'how-to',
                 'how-to-catalog-sync',
                 'how-to-spark-runtime',
-                'how-to-index'
+                'how-to-index',
+                'how-to-iceberg-table-format'
             ],
         },
         {

Reply via email to