morrySnow commented on code in PR #14442: URL: https://github.com/apache/doris/pull/14442#discussion_r1029400535
########## fe/fe-core/src/main/java/org/apache/doris/nereids/memo/Group.java: ########## @@ -139,7 +165,28 @@ public List<GroupExpression> clearPhysicalExpressions() { } public double getCostLowerBound() { - return costLowerBound; + return -1D; + } + + /** + * Get the lowest cost {@link org.apache.doris.nereids.trees.plans.physical.PhysicalPlan} + * which meeting the physical property constraints in this Group. Review Comment: this is original comment, i do not mod it at all. all comment should re-check together ########## fe/fe-core/src/main/java/org/apache/doris/nereids/memo/Group.java: ########## @@ -257,6 +257,65 @@ public int removeParentExpression(GroupExpression parent) { return parentExpressions.size(); } + /** Review Comment: put correlative function together for easy reading -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org