fix for hashgroupbyvec abort bug, wrong skip

This commit is contained in:
lucky-sinx 2024-06-27 12:58:39 +00:00 committed by ob-robot
parent 69db0f75ee
commit b716003f65

View File

@ -2140,7 +2140,7 @@ int ObHashGroupByVecOp::by_pass_get_next_permutation_batch(int64_t &nth_group, b
insert_group_ht))) {
LOG_WARN("failed to get next permutation", K(ret));
} else if (no_non_distinct_aggr_ && last_group) {
my_brs.size_ = 0;
my_brs.skip_->set_all(child_brs->size_);
} else {
CK (dup_groupby_exprs_.count() == all_groupby_exprs_.count());
LOG_DEBUG("next duplicate data permutation", K(all_groupby_exprs_), K(dup_groupby_exprs_));