vinishjail97 commented on code in PR #995:
URL: https://github.com/apache/incubator-xtable/pull/995#discussion_r4672755152


##########
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:
   [P2] Limit the 0.4.0 recommendation to Hudi 0.14.x
   
   Hudi 0.15.x also falls under this recommendation, but XTable 0.4.0 fails 
with that version. Its source provider calls `setConf(Configuration)`, while 
Hudi 0.15.0 exposes `setConf(StorageConfiguration)`. This causes the 
`NoSuchMethodError` described in 
[#941](https://github.com/apache/incubator-xtable/issues/941). Would it work to 
specify Hudi 0.14.x here and explicitly exclude 0.15.x? I suggest correcting 
this before merge.



##########
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:
   [P3] Describe archive as snapshot expiration
   
   `IcebergTableFormat.archive` delegates to 
`IcebergTimelineArchiver.archiveInstants`, which expires snapshots through 
`expireSnapshotIds`. It does not create a snapshot for the archive operation. 
Would it work to separate archive from the operations that create snapshots? 
This wording correction does not block merge.



-- 
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]

Reply via email to