remove database id from direct_load

This commit is contained in:
obdev
2023-02-09 17:03:01 +00:00
committed by ob-robot
parent b407212c41
commit 46d0891c42
9 changed files with 11 additions and 68 deletions

View File

@ -2037,7 +2037,6 @@ int ObLoadDataDirectImpl::init_execute_context()
execute_ctx_.allocator_ = &ctx_->get_allocator();
ObTableLoadParam load_param;
load_param.tenant_id_ = execute_param_.tenant_id_;
load_param.database_id_ = execute_param_.database_id_;
load_param.table_id_ = execute_param_.table_id_;
load_param.session_count_ = execute_param_.parallel_;
load_param.batch_size_ = execute_param_.batch_row_count_;

View File

@ -56,7 +56,6 @@ int ObTableDirectInsertCtx::init(ObExecContext *exec_ctx,
ObTableLoadParam param;
param.column_count_ = store_column_idxs.count();
param.tenant_id_ = MTL_ID();
param.database_id_ = exec_ctx->get_my_session()->get_database_id();
param.table_id_ = table_id;
param.batch_size_ = 100;
param.session_count_ = parallel;
@ -155,4 +154,4 @@ int ObTableDirectInsertCtx::init_store_column_idxs(const uint64_t tenant_id,
}
} // namespace sql
} // namespace oceanbase
} // namespace oceanbase