[ https://issues.apache.org/jira/browse/APEXCORE-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15303566#comment-15303566 ]
ASF GitHub Bot commented on APEXCORE-332: ----------------------------------------- Github user ilganeli commented on the pull request: https://github.com/apache/incubator-apex-core/pull/347#issuecomment-222066531 Makes sense / that's why I didn't want to dive too deep. Just enough to get a feel for what it would look like. > Support Even Distribution Of Tuples To A Non Power Of 2 Number Of Partitions > ---------------------------------------------------------------------------- > > Key: APEXCORE-332 > URL: https://issues.apache.org/jira/browse/APEXCORE-332 > Project: Apache Apex Core > Issue Type: Improvement > Reporter: Timothy Farkas > Assignee: Ilya Ganelin > Priority: Minor > > Currently partitions masks must be defined as a binary mask. As a result the > number of partitions must be a power of 2, otherwise the distribution of > tuples will be uneven. If we support the modulus operation instead of a > binary mask, we could support an even distribution of tuples to a non-power > of 2 number of partitions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)