danielcweeks commented on code in PR #18254:
URL: https://github.com/apache/iceberg/pull/18254#discussion_r4222627383
##########
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:
I don't think we want to define the default batch size. This almost feels
like something we should add in the remote sign config, so it's not a guess
(the service configures the client for the right batch size).
--
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]