Fix core that hash distinct return row without projector when dump level is 2

This commit is contained in:
lz0
2022-04-12 20:45:06 +08:00
committed by LINxiansheng
parent 89607f0f03
commit d47e160a68

View File

@ -716,7 +716,7 @@ int ObHashDistinct::ObHashDistinctCtx::process_one_partition(const ObHashDistinc
LOG_WARN("fail to create hash group buckets", K(ret));
} else {
int64_t part_idx = get_part_idx(hash_value);
if (OB_FAIL(part_row_stores_[part_idx].copy_row(sr))) {
if (OB_FAIL(part_row_stores_[part_idx].copy_row(sr, row_store))) {
LOG_WARN("add row to ChunkRowStore failed", K(ret), K(bucket_idx), K(part_idx));
}
}