HyukjinKwon commented on code in PR #40036:
URL: https://github.com/apache/spark/pull/40036#discussion_r1107008617
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -4033,6 +4033,13 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val CLI_PRINT_CURRENT_DB =
+ buildConf("spark.sql.cli.print.currentDb")
+ .doc("When set to true, spark-sql CLI prints the the current database in
prompt")
+ .version("3.44.0")
Review Comment:
typo
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -4033,6 +4033,13 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val CLI_PRINT_CURRENT_DB =
+ buildConf("spark.sql.cli.print.currentDb")
+ .doc("When set to true, spark-sql CLI prints the the current database in
prompt")
+ .version("3.44.0")
+ .booleanConf
+ .createWithDefault(false)
Review Comment:
I think we can turn it on by default.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]