[ https://issues.apache.org/jira/browse/APEXCORE-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15303305#comment-15303305 ]
ASF GitHub Bot commented on APEXCORE-332: ----------------------------------------- Github user vrozov commented on a diff in the pull request: https://github.com/apache/incubator-apex-core/pull/347#discussion_r64846471 --- Diff: .idea/codeStyleSettings.xml --- @@ -104,5 +104,6 @@ </value> </option> <option name="USE_PER_PROJECT_SETTINGS" value="true" /> + <option name="PREFERRED_PROJECT_CODE_STYLE" value="apex-style" /> --- End diff -- Please keep original IntelliJ code style settings. > 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)