You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "jackwener (via GitHub)" <gi...@apache.org> on 2023/01/31 06:16:31 UTC
[GitHub] [doris] jackwener commented on a diff in pull request #15264: [feature](Nereids): generate phyiscal plan in DPhyp
jackwener commented on code in PR #15264:
URL: https://github.com/apache/doris/pull/15264#discussion_r1091492835
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/joinorder/JoinOrderJob.java:
##########
@@ -94,33 +93,16 @@ private Group optimizeJoin(Group group) {
}
}
Group optimized = planReceiver.getBestPlan(hyperGraph.getNodesMap());
- Group memoRoot = copyToMemo(optimized);
// For other projects, such as project constant or project nullable, we construct a new project above root
if (otherProject.size() != 0) {
- otherProject.addAll(memoRoot.getLogicalExpression().getPlan().getOutput());
+ otherProject.addAll(optimized.getLogicalExpression().getPlan().getOutput());
Review Comment:
next PR, we can rename `optimized` -> `optimizedGroup`
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org