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


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -537,6 +537,113 @@ paths:
         5XX:
           $ref: '#/components/responses/ServerErrorResponse'
 
+  /v1/{prefix}/namespaces/{namespace}/tables/{table}/preplan:

Review Comment:
   Thanks for posing this question @amogh-jahagirdar. My current assumption was 
that a service should be implementing both `preplan` and `plan`, as we had also 
introduced the following exceptions `PayloadTooLargeWithPlanResponse` or  
`UnprocessableEntityResponse` with preplan being the main mitigation.
   
   ```
       PayloadTooLargeWithPlanResponse:
         description:
           Payload is too large. Required to use /preplan before /plan
   ```
   
   ```
       UnprocessableEntityResponse:
         description:
           Service cannot process entity. Required to use /preplan before /plan
   ```
   
   However if its allowed that servers can implement only `plan`, then it makes 
sense to call these out as two separate `capabilities`. 



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