pan3793 commented on code in PR #4995:
URL: https://github.com/apache/kyuubi/pull/4995#discussion_r1241624188


##########
extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala:
##########
@@ -120,11 +120,9 @@ class HiveTableCatalog(sparkSession: SparkSession)
     val globalTempDB = conf.getConf(GLOBAL_TEMP_DATABASE)
     if (externalCatalog.databaseExists(globalTempDB)) {
       throw KyuubiHiveConnectorException(
-        s"""
-           |$globalTempDB is a system preserved database, please rename your 
existing database
-           |to resolve the name conflict, or set a different value for
-           |${GLOBAL_TEMP_DATABASE.key}, and launch your Spark application 
again.
-         """.stripMargin.split("\n").mkString(" "))
+        s"$globalTempDB is a system preserved database, please rename your 
existing database to " +
+          s"resolve the name conflict, or set a different value for 
${GLOBAL_TEMP_DATABASE.key}, " +
+          s"and launch your Spark application again.")

Review Comment:
   ```suggestion
             "and launch your Spark application again.")
   ```



-- 
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]

Reply via email to