disable table recover for materialized view

This commit is contained in:
leftgeek
2024-05-14 12:47:37 +00:00
committed by ob-robot
parent 78275b0316
commit f7fa2e7dee

View File

@ -317,7 +317,7 @@ int ObImportTableTaskGenerator::check_src_table_schema_(
{ {
int ret = OB_SUCCESS; int ret = OB_SUCCESS;
int tmp_ret = OB_SUCCESS; int tmp_ret = OB_SUCCESS;
if (!table_schema.is_user_table()) { if (!table_schema.is_user_table() || table_schema.mv_container_table()) {
ret = OB_OP_NOT_ALLOW; ret = OB_OP_NOT_ALLOW;
LOG_WARN("import not user table is not allowed", K(ret), K(table_item)); LOG_WARN("import not user table is not allowed", K(ret), K(table_item));
ObImportResult::Comment comment; ObImportResult::Comment comment;