You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "pan3793 (via GitHub)" <gi...@apache.org> on 2023/12/21 07:04:31 UTC

Re: [PR] [KYUUBI #5404] JDBC Engine supports StarRocks [kyuubi]

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


##########
externals/kyuubi-jdbc-engine/src/main/scala/org/apache/kyuubi/engine/jdbc/mysql/Mysql8ConnectionProvider.scala:
##########
@@ -22,10 +22,14 @@ class Mysql8ConnectionProvider extends JdbcConnectionProvider {
 
   override val name: String = classOf[Mysql8ConnectionProvider].getSimpleName
 
-  override val driverClass: String = "com.mysql.cj.jdbc.Driver"
+  override val driverClass: String = Mysql8ConnectionProvider.driverClass
 
   override def canHandle(providerClass: String): Boolean = {
     driverClass.equalsIgnoreCase(providerClass)
   }
 
 }
+
+object Mysql8ConnectionProvider {

Review Comment:
   ```suggestion
   object MySQL8ConnectionProvider {
   ```



-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org