You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/01/26 17:35:55 UTC

[GitHub] [iceberg-docs] rdblue edited a comment on pull request #19: Adds graphic for time-travel section of splash page

rdblue edited a comment on pull request #19:
URL: https://github.com/apache/iceberg-docs/pull/19#issuecomment-1022430192


   I have the same reaction as @RussellSpitzer. I like the visualization of snapshots, but I don't consider rollback to be time travel. Rollback alters the state of the table, while time travel actually reads older versions.
   
   The trouble here is that there isn't a good SQL demonstration of time travel yet. We've added table names for time travel in 3.2, but we're waiting for Spark 3.3 to get the `AS OF TIMESTAMP` and `AS OF VERSION` syntax. Maybe we should use those anyway? Or maybe we should use Spark's dataframe syntax to demo time travel right now:
   
   ```scala
   spark.read.option("as-of-timestamp", System.currentTimeMillis() - ONE_DAY_MS).load("db.table)
   ```


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org