remove the logic of optimizing the global index to the global local index in the path of parallel create index

This commit is contained in:
LYAccc 2024-12-09 08:16:03 +00:00 committed by ob-robot
parent 07cb96d2b9
commit 753f5b99f9
2 changed files with 4 additions and 4 deletions

View File

@ -419,9 +419,9 @@ int ObLLVMDIHelper::get_current_scope(ObLLVMDIScope &scope)
}
return ret;
}
ObLLVMDIHelper::ObDIBasicTypeAttr ObLLVMDIHelper::basic_type_[common::ObMaxType] =
{
ObLLVMDIHelper::ObDIBasicTypeAttr ObLLVMDIHelper::basic_type_[common::ObMaxType] =
{
{"null", 0, 0, 0},
{"tinyint", 8, 8, llvm::dwarf::DW_ATE_signed},
{"smallint", 16, 16, llvm::dwarf::DW_ATE_signed},

View File

@ -352,7 +352,7 @@ int ObCreateIndexHelper::is_local_generate_schema_(bool &is_local_generate)
} else if (INDEX_TYPE_NORMAL_GLOBAL == arg_.index_type_
|| INDEX_TYPE_UNIQUE_GLOBAL == arg_.index_type_
|| INDEX_TYPE_SPATIAL_GLOBAL == arg_.index_type_) {
if (!orig_data_table_schema_->is_partitioned_table() && !arg_.index_schema_.is_partitioned_table()) {
if (!orig_data_table_schema_->is_partitioned_table() && !arg_.index_schema_.is_partitioned_table() && !orig_data_table_schema_->is_auto_partitioned_table()) {
is_local_generate = true;
} else {
is_local_generate = false;