Kikyou1997 commented on code in PR #17916: URL: https://github.com/apache/doris/pull/17916#discussion_r1140929330
########## fe/fe-core/src/main/java/org/apache/doris/nereids/stats/JoinEstimation.java: ########## @@ -39,9 +39,9 @@ private static Statistics estimateInnerJoin(Statistics crossJoinStats, List<Expr .sorted((a, b) -> { double sub = a.second - b.second; if (sub > 0) { - return -1; - } else if (sub < 0) { return 1; + } else if (sub < 0) { + return -1; Review Comment: why changed 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: 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