sddyljsx commented on issue #27144: [SPARK-30465][Core]bytesToString util 
adapts to negative number
URL: https://github.com/apache/spark/pull/27144#issuecomment-572895543
 
 
   > When do we have negative bytes?
   In some case, the number is negative. I am trying to find the reason, but as 
a common tool, it should adapt to this case.
   ![remaining 
memory](https://user-images.githubusercontent.com/3488126/72131225-95e37e00-33b6-11ea-8708-6e5ed328d1ca.png)
   
   > BTW, does positive `5368709120B` returns `5.0 GiB`?
   yes, it is.
   5 * 1024 * 1024 * 1024 = 5368709120
   

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