[CP] reorder the order of complex filters

This commit is contained in:
obdev
2024-02-21 09:19:05 +00:00
committed by ob-robot
parent 0c3b7d08c4
commit fea19bc54e
31 changed files with 335 additions and 21 deletions

View File

@ -208,3 +208,18 @@ int ObLogTempTableAccess::get_temp_table_plan(ObLogicalOperator *& insert_op)
}
return ret;
}
int ObLogTempTableAccess::get_card_without_filter(double &card)
{
int ret = OB_SUCCESS;
ObLogicalOperator *child_op = NULL;
if (OB_FAIL(get_temp_table_plan(child_op))) {
LOG_WARN("failed to get temp table plan", K(ret));
} else if (OB_ISNULL(child_op)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("unexpect null operator", K(ret));
} else {
card = child_op->get_card();
}
return ret;
}