浏览代码

HUE-9291 [flink] Set semicolon stripping to true for the dialect

Romain 5 年之前
父节点
当前提交
9623d985e8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      desktop/core/src/desktop/lib/connectors/types.py

+ 2 - 2
desktop/core/src/desktop/lib/connectors/types.py

@@ -152,7 +152,7 @@ CONNECTOR_TYPES = [
       'is_sql': True,
       'is_sql': True,
       'sql_identifier_quote': '`',
       'sql_identifier_quote': '`',
       'sql_identifier_comment_single': '--',
       'sql_identifier_comment_single': '--',
-      'has_catalog': False,
+      'has_catalog': True,
       'has_database': False,
       'has_database': False,
       'has_table': True,
       'has_table': True,
       'has_live_queries': False,
       'has_live_queries': False,
@@ -161,7 +161,7 @@ CONNECTOR_TYPES = [
       'has_auto_limit': False,
       'has_auto_limit': False,
       'has_reference_language': False,
       'has_reference_language': False,
       'has_reference_functions': False,
       'has_reference_functions': False,
-      'trim_statement_semicolon': False,
+      'trim_statement_semicolon': True,
     }
     }
   },
   },
   {
   {