zhangdove commented on a change in pull request #1151:
URL: https://github.com/apache/iceberg/pull/1151#discussion_r448700693
##########
File path: site/docs/spark.md
##########
@@ -136,6 +136,11 @@ To show table history, run:
```scala
spark.read.format("iceberg").load("db.table.history").show(truncate = false)
```
+
+To show table history by HDFS path, run:
+```scala
+spark.read.format("iceberg").load(table.location() + "#" +
MetadataTableType.HISTORY).show( truncate = false)
Review comment:
Thank you for your advice! I have finished the modification.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]