[
https://issues.apache.org/jira/browse/FLINK-10321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhijiang closed FLINK-10321.
----------------------------
Resolution: Fixed
> Make the condition of broadcast partitioner simple
> --------------------------------------------------
>
> Key: FLINK-10321
> URL: https://issues.apache.org/jira/browse/FLINK-10321
> Project: Flink
> Issue Type: Sub-task
> 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)