nastra commented on code in PR #13129:
URL: https://github.com/apache/iceberg/pull/13129#discussion_r2120979576
##########
core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java:
##########
@@ -268,13 +268,12 @@ public List<TableIdentifier> listTables(SessionContext
context, Namespace ns) {
checkNamespaceIsValid(ns);
Map<String, String> queryParams = Maps.newHashMap();
ImmutableList.Builder<TableIdentifier> tables = ImmutableList.builder();
- String pageToken = "";
+ String pageToken = null;
Review Comment:
> The issue with older servers expecting an empty string for the initial
pageToken still stands.
I don't think this is true, because the `queryParams` have been moved
further below and are not being sent anymore on the first request. An older
server would be expecting `pageToken` and `pageSize` to be sent on the very
first request
--
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]