refine large size query range

This commit is contained in:
zs0
2021-11-01 10:30:45 +08:00
committed by LINxiansheng
parent 766929ee4f
commit 9ff1baa323
27 changed files with 425 additions and 231 deletions

View File

@ -1278,23 +1278,6 @@ int ObLogGroupBy::inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs)
return ret;
}
int ObLogGroupBy::child_has_exchange(const ObLogicalOperator* op, bool& find)
{
int ret = OB_SUCCESS;
if (OB_ISNULL(op) || find) {
/*do nothing*/
} else if (log_op_def::LOG_EXCHANGE == op->get_type()) {
find = true;
} else {
for (int i = 0; i < op->get_num_of_child() && OB_SUCC(ret); ++i) {
if (OB_FAIL(SMART_CALL(child_has_exchange(op->get_child(i), find)))) {
LOG_WARN("fail to find tsc recursive", K(ret));
}
}
}
return ret;
}
int ObLogGroupBy::compute_one_row_info()
{
int ret = OB_SUCCESS;