englefly commented on code in PR #13375:
URL: https://github.com/apache/doris/pull/13375#discussion_r1003972708


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/cost/CostCalculator.java:
##########
@@ -47,6 +48,11 @@
  * Inspired by Presto.
  */
 public class CostCalculator {
+    static final double cpuWeight = 1;
+    static final double memorWeight = 1;
+    static final double networkWeight = 1.5;
+    static final double penaltyWeight = 0.5;
+    static final double heavyOperatorPunishFactor = 6.0;

Review Comment:
   done



-- 
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

Reply via email to