adjust sys view definition to avoid system view modification columns not being able to affect dependent views

This commit is contained in:
obdev
2024-02-22 07:15:40 +00:00
committed by ob-robot
parent 782cd89b27
commit d60aec457f
25 changed files with 2388 additions and 237 deletions

View File

@ -60,7 +60,7 @@ int ObInnerTableSchema::dict_ora_schema(ObTableSchema &table_schema)
table_schema.set_collation_type(ObCharset::get_default_collation(ObCharset::get_default_charset()));
if (OB_SUCC(ret)) {
if (OB_FAIL(table_schema.set_view_definition(R"__( SELECT * FROM SYS.DICTIONARY )__"))) {
if (OB_FAIL(table_schema.set_view_definition(R"__( SELECT TABLE_NAME, COMMENTS FROM SYS.DICTIONARY )__"))) {
LOG_ERROR("fail to set view_definition", K(ret));
}
}