[FEAT MERGE]4_2_sql_feature

Co-authored-by: yinyj17 <yinyijun92@gmail.com>
Co-authored-by: xianyu-w <707512433@qq.com>
Co-authored-by: jingtaoye35 <1255153887@qq.com>
This commit is contained in:
zzg19950727
2023-04-28 11:12:11 +00:00
committed by ob-robot
parent 3bf92459f1
commit 3cada22bdc
161 changed files with 16883 additions and 4730 deletions

View File

@ -199,6 +199,8 @@ int ObTablePartitionInfo::replace_final_location_key(ObExecContext &exec_ctx,
loc_meta.related_table_ids_.reset();
loc_meta.related_table_ids_.set_capacity(1);
ref_table_id = share::is_oracle_mapping_real_virtual_table(ref_table_id) ?
ObSchemaUtils::get_real_table_mappings_tid(ref_table_id) : ref_table_id;
if (OB_FAIL(loc_meta.related_table_ids_.push_back(ref_table_id))) {
LOG_WARN("store related table ids failed", K(ret));
} else if (OB_FAIL(ObPhyLocationGetter::build_related_tablet_info(table_location_, exec_ctx, related_map))) {