fix osg bug

This commit is contained in:
Larry955
2023-06-09 09:18:15 +00:00
committed by ob-robot
parent bf8207dd0b
commit 87134e31e3

View File

@ -120,7 +120,6 @@ int ObOptimizerStatsGatheringOp::inner_rescan()
} }
table_stats_map_.reuse(); table_stats_map_.reuse();
osg_col_stats_map_.reuse(); osg_col_stats_map_.reuse();
part_map_.reuse();
arena_.reset(); arena_.reset();
if (OB_FAIL(ObOperator::inner_rescan())) { if (OB_FAIL(ObOperator::inner_rescan())) {
LOG_WARN("failed to rescan"); LOG_WARN("failed to rescan");
@ -221,7 +220,7 @@ int ObOptimizerStatsGatheringOp::inner_get_next_batch(const int64_t max_row_cnt)
} else { } else {
batch_info_guard.set_batch_idx(i); batch_info_guard.set_batch_idx(i);
if (OB_FAIL(calc_stats())) { if (OB_FAIL(calc_stats())) {
LOG_WARN("fail to calc stats", K(ret)); LOG_WARN("fail to calc stats", K(ret), K(i), K(child_brs->size_));
} }
} }
} }