sddyljsx opened a new pull request #27144: [SPARK-30465][Core]bytesToString 
util adapts to negative number
URL: https://github.com/apache/spark/pull/27144
 
 
   
   ### What changes were proposed in this pull request?
   bytesToString util adapts to negative number
   
   
   ### Why are the changes needed?
   when the input of bytesToString is negative number, the string returned  is 
unfriendly.
   For Example:
   -5368709120 will return -5368709120B, not -5.0 GiB
   
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   The UT has been added in UtilsSuite
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to