Эх сурвалжийг харах

HUE-3573 [editor] Flag to enable the query builder

Romain Rigaux 9 жил өмнө
parent
commit
9acc052

+ 3 - 0
desktop/conf.dist/hue.ini

@@ -669,6 +669,9 @@
   ## Main flag to override the automatic starting of the DBProxy server.
   # enable_dbproxy_server=true
 
+  ## Flag to enable the SQL query builder of the table assist.
+  # enable_query_builder=true
+
 
 ###########################################################################
 # Settings to configure your Hadoop cluster.

+ 4 - 0
desktop/conf/pseudo-distributed.ini.tmpl

@@ -673,6 +673,10 @@
   ## Main flag to override the automatic starting of the DBProxy server.
   # enable_dbproxy_server=true
 
+  ## Flag to enable the SQL query builder of the table assist.
+  # enable_query_builder=true
+
+
 ###########################################################################
 # Settings to configure your Hadoop cluster.
 ###########################################################################

+ 6 - 0
desktop/libs/notebook/src/notebook/conf.py

@@ -82,6 +82,12 @@ ENABLE_DBPROXY_SERVER = Config(
   type=bool,
   default=True)
 
+ENABLE_QUERY_BUILDER = Config(
+  key="enable_query_builder",
+  help=_t("Flag to enable the SQL query builder of the table assist."),
+  type=bool,
+  default=True)
+
 GITHUB_REMOTE_URL = Config(
     key="github_remote_url",
     help=_t("Base URL to GitHub Remote Server"),