Fix some hash distinct bug for vec2.0

This commit is contained in:
obdev
2024-02-09 04:47:50 +00:00
committed by ob-robot
parent 96e64cbd47
commit 748f33d484
4 changed files with 11 additions and 7 deletions

View File

@ -1286,13 +1286,12 @@ int64_t ObHashPartInfrastructureVecImpl::est_bucket_count(
const int64_t min_bucket_cnt,
const int64_t max_bucket_cnt)
{
int64_t est_bucket_cnt = 0;
HP_INFRAS_STATUS_CHECK
{
if (OB_FAIL(hp_infras_->est_bucket_count(rows, width, min_bucket_cnt, max_bucket_cnt))) {
LOG_WARN("failed to est bucket count", K(ret));
}
est_bucket_cnt = hp_infras_->est_bucket_count(rows, width, min_bucket_cnt, max_bucket_cnt);
}
return ret;
return est_bucket_cnt;
}
int ObHashPartInfrastructureVecImpl::set_funcs(