提交 43d692c4 编写于 作者: C Charly

Rename Columns in SQL to match ExasolTableBase

上级 cacc7797
......@@ -46,15 +46,15 @@ public class ExasolViewCache extends JDBCStructCache<ExasolSchema, ExasolView, E
+ " SELECT "
+ " VIEW_OWNER AS TABLE_OWNER,"
+ " VIEW_NAME AS TABLE_NAME, "
+ " VIEW_COMMENT AS TABLE_COMMENT,"
+ " 'VIEW' as OBJECT_TYPE,"
+ " VIEW_COMMENT AS REMARKS,"
+ " 'VIEW' as TABLE_TYPE,"
+ " VIEW_TEXT FROM EXA_ALL_VIEWS "
+ " WHERE VIEW_SCHEMA = ? "
+ " union all "
+ " select "
+ " 'SYS' as TABLE_OWNER, "
+ " object_name as TABLE_NAME, "
+ " object_comment as table_comment, "
+ " object_comment as REMARKS, "
+ " object_type, "
+ " 'N/A for sysobjects' as view_text "
+ " from sys.exa_syscat "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册