Github user ChengXiangLi commented on a diff in the pull request:
https://github.com/apache/flink/pull/1255#discussion_r44521192
--- Diff:
flink-optimizer/src/main/java/org/apache/flink/optimizer/operators/GroupReduceWithCombineProperties.java
---
@@ -121,6 +121,9 @@ public SingleInputPlanNode instantiate(Channel in,
SingleInputNode node) {
Channel toReducer = new Channel(combiner);
toReducer.setShipStrategy(in.getShipStrategy(),
in.getShipStrategyKeys(),
in.getShipStrategySortOrder(), in.getDataExchangeMode());
+ if (in.getShipStrategy() ==
ShipStrategyType.PARTITION_RANGE) {
--- End diff --
In this case, a sourceNode-->targetNode would be transferred into
sourceNode --> combineNode --> targetNode, if it's range partition between
sourceNode and targetNode, the data distribution is forget to copy to the new
created channel.
---
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.
---