소스 검색

[docs] Use SparkSql as dialect instead of sql (#1846)

Romain Rigaux 4 년 전
부모
커밋
b9e52f2905

+ 7 - 2
desktop/conf.dist/hue.ini

@@ -825,7 +825,7 @@
     ## slack_client_secret=
     ## slack_verification_token=
     ## slack_bot_user_token=
-    
+
     # Enables Slack application API endpoints
     ## is_enabled=true
 
@@ -967,7 +967,12 @@
     #   interface=sqlalchemy
     #   options='{"url": "druid://host:8082/druid/v2/sql/"}'
 
-    # [[[sql]]]
+    # [[[sparksql]]]
+    #   name = Spark Sql
+    #   interface=sqlalchemy
+    #   options='{"url": "hive://user:password@localhost:10000/database"}'
+
+    # [[[sparksql]]]
     #   name=SparkSql
     #   interface=livy
 

+ 7 - 2
desktop/conf/pseudo-distributed.ini.tmpl

@@ -827,7 +827,7 @@
     ## slack_client_secret=
     ## slack_verification_token=
     ## slack_bot_user_token=
-    
+
     # Enables Slack application API endpoints
     ## is_enabled=true
 
@@ -951,7 +951,12 @@
     #   interface=sqlalchemy
     #   options='{"url": "druid://host:8082/druid/v2/sql/"}'
 
-    # [[[sql]]]
+    # [[[sparksql]]]
+    #   name = Spark Sql
+    #   interface=sqlalchemy
+    #   options='{"url": "hive://user:password@localhost:10000/database"}'
+
+    # [[[sparksql]]]
     #   name=SparkSql
     #   interface=livy
 

+ 1 - 1
docs/docs-site/content/administrator/configuration/connectors/_index.md

@@ -1135,7 +1135,7 @@ In the `[[interpreters]]` section:
     name=PySpark
     interface=livy
 
-    [[[sql]]]
+    [[[sparksql]]]
     name=SparkSql
     interface=livy
 

+ 6 - 1
tools/docker/hue/conf/z-hue-overrides.ini

@@ -74,7 +74,12 @@
     #   name=Impala
     #   interface=hiveserver2
 
-    # [[[sql]]]
+    # [[[sparksql]]]
+    #   name = Spark Sql
+    #   interface=sqlalchemy
+    #   options='{"url": "hive://user:password@localhost:10000/database"}'
+
+    # [[[sparksql]]]
     #   name=SparkSql
     #   interface=livy
 

+ 6 - 1
tools/docker/hue/conf3/z-hue-overrides.ini

@@ -81,7 +81,12 @@ gunicorn_number_of_workers=1
 # name=Impala
 # interface=hiveserver2
 
-# [[[sql]]]
+# [[[sparksql]]]
+#  name = Spark Sql
+#  interface=sqlalchemy
+#  options='{"url": "hive://user:password@localhost:10000/database"}'
+
+# [[[sparksql]]]
 # name=SparkSql
 # interface=livy