[FEAT MERGE] [CP] Improve the rowcount estimation
Co-authored-by: akaError <lzg020616@163.com>
This commit is contained in:
@ -82,6 +82,8 @@ int ObLogCount::do_re_est_cost(EstimateCostInfo ¶m, double &card, double &op
|
||||
OB_ISNULL(child = get_child(ObLogicalOperator::first_child))) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("get unexpected null", K(get_plan()), K(child), K(ret));
|
||||
} else if (OB_FALSE_IT(get_plan()->get_selectivity_ctx().init_op_ctx(
|
||||
&child->get_output_equal_sets(), child->get_card()))) {
|
||||
} else if (OB_FAIL(ObOptSelectivity::calculate_selectivity(get_plan()->get_basic_table_metas(),
|
||||
get_plan()->get_selectivity_ctx(),
|
||||
get_filter_exprs(),
|
||||
|
||||
Reference in New Issue
Block a user