[ 
https://issues.apache.org/jira/browse/FLINK-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15241467#comment-15241467
 ] 

ASF GitHub Bot commented on FLINK-2998:
---------------------------------------

Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1838#discussion_r59750107
  
    --- Diff: 
flink-optimizer/src/main/java/org/apache/flink/optimizer/operators/CoGroupDescriptor.java
 ---
    @@ -151,10 +151,10 @@ public boolean 
areCompatible(RequestedGlobalProperties requested1, RequestedGlob
                else if(produced1.getPartitioning() == 
PartitioningProperty.RANGE_PARTITIONED &&
                                produced2.getPartitioning() == 
PartitioningProperty.RANGE_PARTITIONED) {
    --- End diff --
    
    Add checks that both distributions are not `null`.


> Support range partition comparison for multi input nodes.
> ---------------------------------------------------------
>
>                 Key: FLINK-2998
>                 URL: https://issues.apache.org/jira/browse/FLINK-2998
>             Project: Flink
>          Issue Type: New Feature
>          Components: Optimizer
>            Reporter: Chengxiang Li
>            Priority: Minor
>
> The optimizer may have potential opportunity to optimize the DAG while it 
> found two input range partition are equivalent, we does not support the 
> comparison yet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to