fix case failed cause by information_schema enhance

This commit is contained in:
obdev
2023-02-07 11:52:26 +08:00
committed by ob-robot
parent e9b85c65a0
commit de327e58f9
14 changed files with 119 additions and 40 deletions

View File

@ -243,6 +243,10 @@ int ObLoadDataResolver::resolve(const ParseNode &parse_tree)
false/*is_index_table*/,
tschema))) {
LOG_WARN("get table schema failed", K(ret));
} else if (OB_UNLIKELY(tschema->is_view_table())) {
ret = OB_NOT_SUPPORTED;
LOG_WARN("load data to the view is not supported", K(ret));
LOG_USER_ERROR(OB_NOT_SUPPORTED, "load data to the view is");
} else {
load_args.table_id_ = tschema->get_table_id();
load_args.table_name_ = table_name;