kevinjqliu commented on issue #13119:
URL: https://github.com/apache/iceberg/issues/13119#issuecomment-2906306952
I feel like I'm not understanding the improvement here, but feel free to
open a PR to clarify the spec!
These are the options to consider:
```
http://localhost:8181/v1/namespaces/default/tables
http://localhost:8181/v1/namespaces/default/tables?pageToken=
http://localhost:8181/v1/namespaces/default/tables?pageToken=1
http://localhost:8181/v1/namespaces/default/tables?pageSize=
http://localhost:8181/v1/namespaces/default/tables?pageSize=1
http://localhost:8181/v1/namespaces/default/tables?pageSize=1&pageToken=
http://localhost:8181/v1/namespaces/default/tables?pageToken=1&pageSize=
http://localhost:8181/v1/namespaces/default/tables?pageSize=1&pageToken=1
```
Specifically when `pageToken` is omitted and `pageSize` is set
(`http://localhost:8181/v1/namespaces/default/tables?pageSize=1`), the server
with pagination support should return at most 1 record
```
page-size:
name: pageSize
in: query
description:
For servers that support pagination, this signals an upper bound of
the number of results that a client will receive.
For servers that do not support pagination, clients may receive
results larger than the indicated `pageSize`.
required: false
schema:
type: integer
minimum: 1
```
--
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]