[FEAT MERGE]adaptive cost model
This commit is contained in:
@ -217,13 +217,13 @@ int ObLogDistinct::inner_est_cost(const int64_t parallel, double child_card, dou
|
||||
per_dop_ndv,
|
||||
child->get_width(),
|
||||
distinct_exprs_,
|
||||
opt_ctx.get_cost_model_type());
|
||||
opt_ctx);
|
||||
} else {
|
||||
op_cost = ObOptEstCost::cost_hash_distinct(per_dop_card,
|
||||
per_dop_ndv,
|
||||
child->get_width(),
|
||||
distinct_exprs_,
|
||||
opt_ctx.get_cost_model_type());
|
||||
opt_ctx);
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user