englefly commented on code in PR #39812:
URL: https://github.com/apache/doris/pull/39812#discussion_r1728088243
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/properties/ChildrenPropertiesRegulator.java:
##########
@@ -464,6 +467,9 @@ public Boolean
visitPhysicalNestedLoopJoin(PhysicalNestedLoopJoin<? extends Plan
@Override
public Boolean visitPhysicalProject(PhysicalProject<? extends Plan>
project, Void context) {
// do not process must shuffle
+ if (children.get(0).getPlan() instanceof PhysicalDistribute) {
Review Comment:
if (children.get(0).getPlan() instanceof PhysicalDistribute &&
project.getOutput().size() <= children.get(0).getPlan().getOutput().size()) {
...}
how about this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]