[FEAT MERGE]adaptive cost model
This commit is contained in:
@ -109,7 +109,7 @@ int ObLogTempTableInsert::do_re_est_cost(EstimateCostInfo ¶m, double &card,
|
||||
ObOptimizerContext &opt_ctx = get_plan()->get_optimizer_context();
|
||||
op_cost = ObOptEstCost::cost_material(card / param.need_parallel_,
|
||||
child->get_width(),
|
||||
opt_ctx.get_cost_model_type());
|
||||
opt_ctx);
|
||||
cost += op_cost;
|
||||
}
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user