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: [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]