vinishjail97 commented on code in PR #995: URL: https://github.com/apache/incubator-xtable/pull/995#discussion_r4672905316
########## website/docs/how-to-spark-runtime.md: ########## @@ -18,16 +18,21 @@ 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.x Review Comment: Fixed in 17279d17: the 0.4.0 jar is now scoped to Hudi 0.14.x, with a note that 0.15.x and later fail with `NoSuchMethodError` (#941). ########## website/docs/how-to-iceberg-table-format.md: ########## @@ -0,0 +1,127 @@ +--- +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, savepoint and +archive also commits an Iceberg snapshot under the table base path, so the table reads as a Review Comment: Fixed in 17279d17: archive is out of the list of operations that commit a snapshot, and a new sentence says it expires the Iceberg snapshots of the archived instants. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
