You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "XJDKC (via GitHub)" <gi...@apache.org> on 2025/06/10 17:14:48 UTC

[I] Pagination: Failed to parse pageSize [polaris]

XJDKC opened a new issue, #1848:
URL: https://github.com/apache/polaris/issues/1848

   ### Describe the bug
   
   Got this error message when testing Catalog Federation:
   ```
   {
     "error": {
       "message": "For input string: \"null\"",
       "type": "NumberFormatException",
       "code": 400
     }
   }
   ```
   
   ### To Reproduce
   
   _No response_
   
   ### Actual Behavior
   
   _No response_
   
   ### Expected Behavior
   
   _No response_
   
   ### Additional context
   
   The tokenSize param in the request in an `Integer` object, but later we convert it to a String. Then we try to parse it to get an integer again. If the pageSize is null, we will fail to parse the string and convert it to Integer.
   
   [CatalogHandlerUtils.java#L164](https://github.com/apache/polaris/blob/5fe9fd9e5b7e7db5604011cf2de4197430882cef/service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/CatalogHandlerUtils.java#L164)
   
   ### System information
   
   _No response_


-- 
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-unsubscribe@polaris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pagination: Failed to parse pageSize [polaris]

Posted by "XJDKC (via GitHub)" <gi...@apache.org>.
XJDKC closed issue #1848: Pagination: Failed to parse pageSize
URL: https://github.com/apache/polaris/issues/1848


-- 
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-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pagination: Failed to parse pageSize [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on issue #1848:
URL: https://github.com/apache/polaris/issues/1848#issuecomment-3336445889

   Can we close it, @XJDKC? 


-- 
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-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pagination: Failed to parse pageSize [polaris]

Posted by "snazy (via GitHub)" <gi...@apache.org>.
snazy commented on issue #1848:
URL: https://github.com/apache/polaris/issues/1848#issuecomment-3204532152

   @XJDKC is this still an issue?


-- 
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-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pagination: Failed to parse pageSize [polaris]

Posted by "XJDKC (via GitHub)" <gi...@apache.org>.
XJDKC commented on issue #1848:
URL: https://github.com/apache/polaris/issues/1848#issuecomment-3336431960

   @snazy It has been resolved in this PR: https://github.com/apache/polaris/pull/1849


-- 
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-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pagination: Failed to parse pageSize [polaris]

Posted by "XJDKC (via GitHub)" <gi...@apache.org>.
XJDKC commented on issue #1848:
URL: https://github.com/apache/polaris/issues/1848#issuecomment-3336447270

   > Can we close it, [@XJDKC](https://github.com/XJDKC)?
   
   Done!


-- 
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-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org