nastra commented on code in PR #8163:
URL: https://github.com/apache/iceberg/pull/8163#discussion_r1276565638
##########
spark/v3.4/spark/src/main/java/org/apache/iceberg/spark/procedures/SetCurrentSnapshotProcedure.java:
##########
@@ -42,7 +43,8 @@ class SetCurrentSnapshotProcedure extends BaseProcedure {
private static final ProcedureParameter[] PARAMETERS =
new ProcedureParameter[] {
ProcedureParameter.required("table", DataTypes.StringType),
- ProcedureParameter.required("snapshot_id", DataTypes.LongType)
+ ProcedureParameter.optional("snapshot_id", DataTypes.LongType),
+ ProcedureParameter.optional("tag", DataTypes.StringType)
Review Comment:
maybe we'd want to use `ref` so that we could refer to a branch/tag?
--
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]