nastra commented on code in PR #10423:
URL: https://github.com/apache/iceberg/pull/10423#discussion_r1623821698


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -2643,7 +2643,7 @@ components:
       properties:
         type:
           type: string
-          enum: [ "assert-ref-snapshot-id" ]
+          enum: ["tag", "branch"]

Review Comment:
   I don't think this change is correct. In 
https://github.com/apache/iceberg/blob/d69ba0568a2e07dfb5af233350ad5668d9aef134/core/src/main/java/org/apache/iceberg/UpdateRequirementParser.java#L169
 we're relying on the `type` being `assert-ref-snapshot-id`



-- 
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-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to