zjureel commented on code in PR #410:
URL: https://github.com/apache/flink-table-store/pull/410#discussion_r1056160599


##########
docs/content/docs/how-to/querying-tables.md:
##########
@@ -180,3 +180,13 @@ SELECT * FROM MyTable$audit_log;
 3 rows in set
 */
 ```
+
+## Time Travel Reading
+You can read snapshot specific by commit time or snapshot id from a table.
+```sql
+-- Read snapshot specified by commit time.
+SELECT * FROM T /*+ OPTIONS('scan.timestamp-millis'='121230')*/;
+
+-- Read snapshot specified by snapshot id.
+SELECT * FROM T /*+ OPTIONS('scan.snapshot-id'='12')*/;
+```

Review Comment:
   Done



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