fix incremental direct load update sql stats

This commit is contained in:
suz-yang
2024-06-21 06:50:49 +00:00
committed by ob-robot
parent cc59066e45
commit 5801165afd
3 changed files with 44 additions and 59 deletions

View File

@ -115,12 +115,11 @@ int ObTableDirectInsertCtx::init(
param.session_count_ = parallel;
param.column_count_ = column_ids.count();
param.px_mode_ = true;
param.online_opt_stat_gather_ = true;
param.online_opt_stat_gather_ = is_online_gather_statistics_;
param.need_sort_ = true;
param.max_error_row_count_ = 0;
param.dup_action_ = (enable_inc_replace ? sql::ObLoadDupActionType::LOAD_REPLACE
: sql::ObLoadDupActionType::LOAD_STOP_ON_DUP);
param.online_opt_stat_gather_ = is_online_gather_statistics_;
param.method_ = method;
param.insert_mode_ = insert_mode;
param.load_mode_ = load_mode;