rahil-c commented on code in PR #9695:
URL: https://github.com/apache/iceberg/pull/9695#discussion_r1692623064


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -3647,6 +3826,151 @@ components:
             type: integer
           description: "List of equality field IDs"
 
+    DeleteFile:
+      oneOf:
+        - $ref: '#/components/schemas/PositionDeleteFile'
+        - $ref: '#/components/schemas/EqualityDeleteFile'
+
+    PreplanTableRequest:
+      type: object
+      oneOf:
+        - required:
+            - snapshot-id
+        - required:
+            - start-snapshot-id

Review Comment:
   @amogh-jahagirdar @rdblue 
   Is this the cleanest way of expressing mutually exclusive fields? I feel 
like the examples mentioned usage of the `minProperties` and `minItems` kinda 
make the spec harder to read here.
   
   Will try to do some more research on this, and see if can find anything 
simpler. If not can try to conform around this.



-- 
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