Refine task assignments for external table

This commit is contained in:
wjhh2008
2023-07-11 14:19:50 +00:00
committed by ob-robot
parent a8fed65b7a
commit 957f63a256
7 changed files with 100 additions and 13 deletions

View File

@ -2384,9 +2384,10 @@ int ObCreateTableResolver::set_table_option_to_schema(ObTableSchema &table_schem
if (OB_SUCC(ret) && table_schema.is_external_table()) {
if (table_schema.get_external_file_format().empty()
|| table_schema.get_external_file_location().empty())
|| table_schema.get_external_file_location().empty()) {
ret = OB_NOT_SUPPORTED;
LOG_USER_ERROR(OB_NOT_SUPPORTED, "Default format or location option for external table");
}
}
}
return ret;