only gather global stats for partition tabled when doing online stats gathering

This commit is contained in:
Larry955
2023-08-04 06:12:22 +00:00
committed by ob-robot
parent 3cf9332af1
commit ec768b2565
3 changed files with 86 additions and 270 deletions

View File

@ -209,6 +209,9 @@ int ObOptOSGColumnStat::update_column_stat_info(const ObDatum *datum,
LOG_WARN("failed to inner merge max val");
}
}
if (OB_SUCC(ret)) {
col_stat_->calc_avg_len();
}
return ret;
}