[
https://issues.apache.org/jira/browse/FLINK-10321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613061#comment-16613061
]
ASF GitHub Bot commented on FLINK-10321:
----------------------------------------
zhijiangW commented on issue #6688: [FLINK-10321][network] Simplify the
condition of BroadcastPartitioner
URL: https://github.com/apache/flink/pull/6688#issuecomment-420895049
@NicoK @pnowojski , this hotfix is mentioned in #6417 comments, and I submit
it as a separate PR.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Make the condition of broadcast partitioner simple
> --------------------------------------------------
>
> Key: FLINK-10321
> URL: https://issues.apache.org/jira/browse/FLINK-10321
> Project: Flink
> Issue Type: Improvement
> Components: Network
> Affects Versions: 1.7.0
> Reporter: zhijiang
> Assignee: zhijiang
> Priority: Minor
> Labels: pull-request-available
>
> The current {{BroadcastPartitioner}} uses the vars of {{set}} and
> {{setNumber}} as the condition for returning channel arrays.
> Instead of using {{set}} and {{setNumber}}, we can just check whether
> {{returnChannel.length == numberOfOutputChannels}} as the condition to make
> it simple.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)