[FEAT MERGE] Support partitioned external table, and opt select into outfile

Co-authored-by: SevenJ-swj <sevenjworkstation@gmail.com>
Co-authored-by: dontknow9179 <545187809@qq.com>
This commit is contained in:
wjhh2008
2024-04-16 16:15:48 +00:00
committed by ob-robot
parent 3aff0d6be3
commit 0d6f3a8316
87 changed files with 4872 additions and 926 deletions

View File

@ -309,6 +309,11 @@ int ObPhyLocationGetter::get_phy_locations(const ObIArray<ObTableLocation> &tabl
LOG_INFO("Physical Location from Location Cache", K(candi_table_loc));
}
}
if (OB_SUCC(ret)) {
if (table_location.get_loc_meta().is_external_table_) {
need_check_on_same_server = false;
}
}
} // for end
}
@ -330,6 +335,7 @@ int ObPhyLocationGetter::get_phy_locations(const ObIArray<ObTableLocation> &tabl
LOG_TRACE("after select_replicas", K(on_same_server), K(has_duplicate_tbl_not_in_dml),
K(candi_table_locs), K(table_locations), K(ret));
}
LOG_TRACE("after get_phy_locations", K(on_same_server), K(need_check_on_same_server));
}
return ret;

View File

@ -357,6 +357,8 @@ bool ObSqlParameterization::is_tree_not_param(const ParseNode *tree)
ret_bool = true;
} else if (T_INTO_LINE_LIST == tree->type_) {
ret_bool = true;
} else if (T_INTO_FILE_LIST == tree->type_) {
ret_bool = true;
} else if (T_PIVOT_IN_LIST == tree->type_) {
ret_bool = true;
} else if (T_CHAR_CHARSET == tree->type_) {