sungwy commented on code in PR #18254:
URL: https://github.com/apache/iceberg/pull/18254#discussion_r4261957527


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1439,6 +1429,53 @@ paths:
         5XX:
           $ref: '#/components/responses/ServerErrorResponse'
 
+  /v1/{prefix}/namespaces/{namespace}/tables/{table}/sign/batch:
+    parameters:
+      - $ref: '#/components/parameters/prefix'
+      - $ref: '#/components/parameters/namespace'
+      - $ref: '#/components/parameters/table'
+      - $ref: '#/components/parameters/data-access'
+
+    post:
+      tags:
+        - Catalog API
+      summary: Remotely signs a batch of requests to object storage
+      operationId: batchSignRequests
+      description: >
+        Signs a batch of requests to object storage on the client's behalf.
+
+        A server MAY
+        advertise its batch size limit as `sign-batch-max-size` in 
`CatalogConfig`. If not the value is not advertised, the server
+        SHOULD use a default batch size of 100 elements. A batch above the 
server's limit is rejected with 413.

Review Comment:
   Okay - should we make the client fail instead if the `sign-batch-max-size` 
is not provided by the server when it attempts to use the batch signing API?



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

Reply via email to