Browse Source

[sparksql] Strip semi colon automatically via sqlalchemy to avoid error

Romain Rigaux 5 năm trước cách đây
mục cha
commit
8f97dea0c3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      desktop/core/src/desktop/lib/connectors/types.py

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

@@ -165,7 +165,7 @@ CONNECTOR_TYPES = [
       'has_reference_language': False,
       'has_reference_functions': False,
       'has_use_statement': False,
-      'trim_statement_semicolon': False,
+      'trim_statement_semicolon': True,
     }
   },
   {