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 2020/11/25 02:08:21 UTC
[GitHub] [iceberg] rdblue commented on pull request #1819: [WIP]SQL extension: expire snapshot
rdblue commented on pull request #1819:
URL: https://github.com/apache/iceberg/pull/1819#issuecomment-733415844
> If don't give the older_than value, all the snapshots will be dropped.
The current snapshot is never dropped, but you're right that it is easy to drop lots of data doing this.
We've thought about introducing table properties to default these. Seems like a good time to add them. I'm thinking some time interval for keeping snapshots (so expireOlderThan would default to `System.currentTimeMillis() - interval`) and some default number of snapshots to keep.
@aokolnychyi, do you agree?
----------------------------------------------------------------
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.
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