You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/04/07 05:17:05 UTC

[doris] branch master updated: [enhancement](Nereids) disable heavy operator penalty in cost model v1 (#18422)

This is an automated email from the ASF dual-hosted git repository.

morrysnow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new b1956b42fb [enhancement](Nereids) disable heavy operator penalty in cost model v1 (#18422)
b1956b42fb is described below

commit b1956b42fb3e37f4a4609012ee62f894ffa3dcf5
Author: minghong <en...@gmail.com>
AuthorDate: Fri Apr 7 13:16:59 2023 +0800

    [enhancement](Nereids) disable heavy operator penalty in cost model v1 (#18422)
---
 fe/fe-core/src/main/java/org/apache/doris/nereids/cost/CostModelV1.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/cost/CostModelV1.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/cost/CostModelV1.java
index c53e02ce66..60a1f9c9b1 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/nereids/cost/CostModelV1.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/cost/CostModelV1.java
@@ -56,7 +56,7 @@ class CostModelV1 extends PlanVisitor<Cost, PlanContext> {
      * <p>
      * An example is tpch q15.
      */
-    static final double HEAVY_OPERATOR_PUNISH_FACTOR = 1.0;
+    static final double HEAVY_OPERATOR_PUNISH_FACTOR = 0.0;
 
     public static Cost addChildCost(Plan plan, Cost planCost, Cost childCost, int index) {
         Preconditions.checkArgument(childCost instanceof CostV1 && planCost instanceof CostV1);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org