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/03/23 14:13:44 UTC

[GitHub] [iceberg] ajantha-bhat commented on a change in pull request #4379: Clarify timestamp in stored procedures

ajantha-bhat commented on a change in pull request #4379:
URL: https://github.com/apache/iceberg/pull/4379#discussion_r833318560



##########
File path: docs/spark/spark-procedures.md
##########
@@ -215,18 +215,12 @@ If `older_than` and `retain_last` are omitted, the table's [expiration propertie
 
 #### Examples
 
-Remove snapshots older than one day, but retain the last 100 snapshots:
+Remove snapshots older than one day (assuming today is TIMESTAMP '2021-06-31 00:00:00.000'), but retain the last 100 snapshots:
 
 ```sql
 CALL hive_prod.system.expire_snapshots('db.sample', TIMESTAMP '2021-06-30 00:00:00.000', 100)
 ```
 
-Erase all snapshots older than the current timestamp but retain the last 5 snapshots:
-
-```sql

Review comment:
       Removed generic spark expressions for timestamp as it is not supported




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