Skip to content

Commit

Permalink
fix create Jdbc Engine error
Browse files Browse the repository at this point in the history
  • Loading branch information
silencily committed Feb 1, 2024
1 parent 208354c commit 35b3dc7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import org.apache.kyuubi.engine.jdbc.util.SupportServiceLoader

abstract class JdbcConnectionProvider extends SupportServiceLoader with Logging {

override def name(): String = classOf[JdbcConnectionProvider].getSimpleName
override def name(): String = classOf[JdbcConnectionProvider].getName

val driverClass: String

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ import org.apache.kyuubi.engine.jdbc.mysql.MySQL8ConnectionProvider

class DorisConnectionProvider extends MySQL8ConnectionProvider {

override val name: String = classOf[DorisConnectionProvider].getSimpleName
override val name: String = classOf[DorisConnectionProvider].getName
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import org.apache.kyuubi.engine.jdbc.connection.JdbcConnectionProvider

class MySQL8ConnectionProvider extends JdbcConnectionProvider {

override val name: String = classOf[MySQL8ConnectionProvider].getSimpleName
override val name: String = classOf[MySQL8ConnectionProvider].getName

override val driverClass: String = MySQL8ConnectionProvider.driverClass

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ package org.apache.kyuubi.engine.jdbc.mysql

class MySQLConnectionProvider extends MySQL8ConnectionProvider {

override val name: String = classOf[MySQLConnectionProvider].getSimpleName
override val name: String = classOf[MySQLConnectionProvider].getName
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import org.apache.kyuubi.engine.jdbc.connection.JdbcConnectionProvider

class PhoenixConnectionProvider extends JdbcConnectionProvider {

override val name: String = classOf[PhoenixConnectionProvider].getSimpleName
override val name: String = classOf[PhoenixConnectionProvider].getName

override val driverClass: String = "org.apache.phoenix.queryserver.client.Driver"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import org.apache.kyuubi.engine.jdbc.connection.JdbcConnectionProvider

class PostgreSQLConnectionProvider extends JdbcConnectionProvider {

override val name: String = classOf[PostgreSQLConnectionProvider].getSimpleName
override val name: String = classOf[PostgreSQLConnectionProvider].getName

override val driverClass: String = "org.postgresql.Driver"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ import org.apache.kyuubi.engine.jdbc.mysql.MySQL8ConnectionProvider

class StarRocksConnectionProvider extends MySQL8ConnectionProvider {

override val name: String = classOf[StarRocksConnectionProvider].getSimpleName
override val name: String = classOf[StarRocksConnectionProvider].getName
}

0 comments on commit 35b3dc7

Please sign in to comment.