Fix illegal snapshot version used by direct load to create ddl major

This commit is contained in:
Hongqin-Li
2023-03-17 04:41:18 +00:00
committed by ob-robot
parent ef1c90b74f
commit 42b0938ea9
15 changed files with 45 additions and 32 deletions

View File

@ -190,7 +190,7 @@ int ObTableLoadMerger::build_merge_ctx()
merge_param.target_table_id_ = store_ctx_->ctx_->ddl_param_.dest_table_id_;
merge_param.rowkey_column_num_ = store_ctx_->ctx_->schema_.rowkey_column_count_;
merge_param.store_column_count_ = store_ctx_->ctx_->schema_.store_column_count_;
merge_param.snapshot_version_ = param_.snapshot_version_;
merge_param.snapshot_version_ = store_ctx_->ctx_->ddl_param_.snapshot_version_;
merge_param.table_data_desc_ = store_ctx_->table_data_desc_;
merge_param.datum_utils_ = &(store_ctx_->ctx_->schema_.datum_utils_);
merge_param.col_descs_ = &(store_ctx_->ctx_->schema_.column_descs_);