[enhancement](Nereids) disable heavy operator penalty in cost model v1 (#18422)
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user