gaojun2048 commented on issue #3026:
URL: https://github.com/apache/iceberg/issues/3026#issuecomment-925463951


   > Could you please give more information about how would you like to use the 
truncate#width to create a ranger partition ? I did not quite understand your 
case actually. Thanks.
   
   From the iceberg document I found W is the width of each partition, not the 
number of partitions.
   If I want to divide the numbers from 1 to 100 into 3 ranger partitions, W 
should be 100/3 + 1 = 34 (because 100% 3 != 0).
   Do i have a misunderstanding?
   
   And then if I want to divide the numbers from Long.MIN_VALUE to 
Long.MAX_VALUE into 10 ranger partitions, W should be (Long.MAX_VALUE - 
Long.MIN_VALUE ) / 10 + 1 . 


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



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

Reply via email to