fix some bugs

This commit is contained in:
chimyue
2023-05-26 06:47:00 +00:00
committed by ob-robot
parent f244dded1a
commit 70ed82ee89
6 changed files with 27 additions and 138 deletions

View File

@ -2187,10 +2187,7 @@ int ObAggregateProcessor::rollup_aggregation(AggrCell &aggr_cell, AggrCell &roll
break;
}
case T_FUN_GROUPING_ID: {
if (OB_UNLIKELY(aggr_info.grouping_idxs_.count() == 0)) {
ret = OB_INVALID_ARGUMENT;
LOG_WARN("param_exprs_ count is not 1", K(aggr_info));
} else if (-1 == cur_rollup_group_idx) {
if (-1 == cur_rollup_group_idx) {
rollup_cell.set_tiny_num_uint(aggr_cell.get_tiny_num_uint());
} else {
uint64_t new_value = 0;