ajantha-bhat opened a new pull request, #9877:
URL: https://github.com/apache/iceberg/pull/9877

   Without this change, empty namespace lookup fails with below callstack. 
   It is good to return false in this case like other catalogs. 
   
   ```
   org.projectnessie.error.NessieBadRequestException: Bad Request (HTTP/400): 
getMultipleContents.keys[0].elements: size must be between 1 and 2147483647
        at 
org.projectnessie.error.ErrorCode.lambda$asException$1(ErrorCode.java:66)
        at java.base/java.util.Optional.map(Optional.java:265)
        at org.projectnessie.error.ErrorCode.asException(ErrorCode.java:66)
        at 
org.projectnessie.client.rest.ResponseCheckFilter.checkResponse(ResponseCheckFilter.java:58)
        at 
org.projectnessie.client.rest.NessieHttpResponseFilter.filter(NessieHttpResponseFilter.java:29)
        at 
org.projectnessie.client.http.impl.jdk11.JavaRequest.lambda$executeRequest$1(JavaRequest.java:143)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
        at 
java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1085)
        at 
org.projectnessie.client.http.impl.jdk11.JavaRequest.executeRequest(JavaRequest.java:143)
        at org.projectnessie.client.http.HttpRequest.post(HttpRequest.java:116)
   ```


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