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

    https://github.com/apache/flink/pull/1776#discussion_r56332311
  
    --- Diff: 
flink-optimizer/src/main/java/org/apache/flink/optimizer/traversals/RangePartitionRewriter.java
 ---
    @@ -221,7 +223,7 @@ public void postVisit(PlanNode node) {
                prRemoverNode.setParallelism(targetParallelism);
                prPlanNode.setParallelism(targetParallelism);
                GlobalProperties globalProperties = new GlobalProperties();
    -           globalProperties.setRangePartitioned(new Ordering(0, null, 
Order.ASCENDING));
    +           globalProperties.setRangePartitioned(new Ordering(0, null, 
Order.ASCENDING), channel.getDataDistribution());
    --- End diff --
    
    can you pass `null` instead of `channel.getDataDistribution()` to make it 
clear that no provided data distribution is available?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to