dongjoon-hyun commented on a change in pull request #24566: [SPARK-27667][SQL] 
support display of current Database in the spark-sql CLI
URL: https://github.com/apache/spark/pull/24566#discussion_r354955363
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
 ##########
 @@ -2072,6 +2072,11 @@ object SQLConf {
       .stringConf
       .createWithDefault(
         
"https://maven-central.storage-download.googleapis.com/repos/central/data/";)
+
+  val SPARK_SQL_CLI_SHOW_CURRENT_DB = 
buildConf("spark.sql.cli.show.current.db")
+    .doc("when true, current DB name will be displayed in the cli prompt")
+    .booleanConf
+    .createWithDefault(false)
 
 Review comment:
   Let's move this config to `StaticSQLConf` and use `buildStaticConf`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to