remove database id from direct_load
This commit is contained in:
@ -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_;
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user