Browse Source

HUE-7284 [editor] Enable the syntax checker by default

Johan Ahlen 8 years ago
parent
commit
f6dddd9

+ 1 - 1
desktop/conf.dist/hue.ini

@@ -183,7 +183,7 @@
   ## use_new_context_popover=false
 
   # Choose whether to enable SQL syntax check or not
-  ## enable_sql_syntax_check=false
+  ## enable_sql_syntax_check=true
 
   # Choose whether to show the improved assist panel and the right context panel
   ## use_new_side_panels=false

+ 1 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -184,7 +184,7 @@
   ## use_new_global_search=true
 
   # Choose whether to enable the new SQL syntax checker or not
-  ## enable_sql_syntax_check=false
+  ## enable_sql_syntax_check=true
 
   # Choose whether to show the improved assist panel and the right context panel
   ## use_new_side_panels=false

+ 3 - 3
desktop/core/src/desktop/conf.py

@@ -1312,14 +1312,14 @@ DJANGO_EMAIL_BACKEND = Config(
   default="django.core.mail.backends.smtp.EmailBackend"
 )
 
-ENABLE_SQL_SYNTAX_CHECK = Config( # To remove when syntax check is ready
+ENABLE_SQL_SYNTAX_CHECK = Config(
   key='enable_sql_syntax_check',
-  default=False,
+  default=True,
   type=coerce_bool,
   help=_('Choose whether to enable SQL syntax check or not.')
 )
 
-USE_NEW_GLOBAL_SEARCH = Config( # To remove when the new global search is ready
+USE_NEW_GLOBAL_SEARCH = Config(
   key='use_new_global_search',
   default=True,
   type=coerce_bool,