aokolnychyi opened a new issue #2221:
URL: https://github.com/apache/iceberg/issues/2221
I think we should extend our `expire_snapshots` procedure to also accept an
optional list of snapshots ids. That way we match the behavior in the `Table`
API. It may be useful when someone generated a lot of compaction snapshots and
wants to expire them even though they are recent.
```
private static final ProcedureParameter[] PARAMETERS = new
ProcedureParameter[] {
ProcedureParameter.required("table", DataTypes.StringType),
ProcedureParameter.optional("older_than", DataTypes.TimestampType),
ProcedureParameter.optional("retain_last", DataTypes.IntegerType),
// new optional parameter to specify snapshot ids to expire
ProcedureParameter.optional("snapshots_ids",
DataTypes.createArrayType(DataTypes.LongType))
};
```
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]