PCloud63514 opened a new pull request, #9189:
URL: https://github.com/apache/gravitino/pull/9189

   ### What changes were proposed in this pull request?
   
   - Modified DorisUtils.extractBucketNum to trim the bucket number string 
before parsing.
   
   
   ### Why are the changes needed?
   - To prevent a NumberFormatException when parsing numeric bucket numbers 
that include whitespace. (e.g., " 16 ")
   
   Fix: #9136 
   
   ### Does this PR introduce _any_ user-facing change?
   
   - No.
   
   ### How was this patch tested?
   
   - Verified using the unit test included in the issue 
(testExtractBucketNumWithWhitespace()).
   - Confirmed all existing tests continue to pass.


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

Reply via email to