jackye1995 commented on code in PR #6627:
URL: https://github.com/apache/iceberg/pull/6627#discussion_r1081834635
##########
docs/spark-queries.md:
##########
@@ -95,21 +95,39 @@ The above list is in order of priority. For example: a
matching catalog will tak
#### SQL
-Spark 3.3 and later supports time travel in SQL queries using `TIMESTAMP AS
OF` or `VERSION AS OF` clauses
+Spark 3.3 and later supports time travel in SQL queries using `TIMESTAMP AS
OF` or `VERSION AS OF` clauses.
+The `VERSION AS OF` clause can be used for time traveling to a specific
snapshot via the following options:
+
+1. Snapshot ID
+2. Head of a branch
+3. Tagged snapshot
+
+Note: If the name of a branch or tag is the same as a snapshot ID, then the
snapshot which is selected for time travel is the snapshot
Review Comment:
nit: use `{{< hint info >}}` for notes.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]