jackwener commented on code in PR #18747: URL: https://github.com/apache/doris/pull/18747#discussion_r1189369807
########## fe/fe-core/src/main/java/org/apache/doris/nereids/cost/CostWeight.java: ########## @@ -38,6 +36,8 @@ public class CostWeight { static final double MEMORY_WEIGHT = 1; static final double NETWORK_WEIGHT = 1.5; static final double DELAY = 0.5; + + static double nereidsCboPenaltyFactor = 0.7; Review Comment: 这样写 ConnectContext.get().getSessionVariable().getNereidsCboPenaltyFactor()就没用了,那可以把这个参数删了吧,包括setNereidsCboPenaltyFactor() -- 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