You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/09/23 02:31:32 UTC

[GitHub] [iceberg] gaojun2048 commented on issue #3026: Is Iceberg support ranger partition?

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: issues-unsubscribe@iceberg.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org