You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "zhijiang (JIRA)" <ji...@apache.org> on 2018/09/12 06:16:00 UTC

[jira] [Created] (FLINK-10321) Make the condition of broadcast partitioner simple

zhijiang created FLINK-10321:
--------------------------------

             Summary: 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


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)