Kwafoor commented on code in PR #5588:
URL: https://github.com/apache/kyuubi/pull/5588#discussion_r1391890072
##########
externals/kyuubi-jdbc-engine/src/main/scala/org/apache/kyuubi/engine/jdbc/connection/ConnectionProvider.scala:
##########
@@ -57,10 +57,9 @@ abstract class AbstractConnectionProvider extends Logging {
case None =>
// TODO
if (filteredProviders.size != 1) {
- throw new IllegalArgumentException(
- "JDBC connection initiated but more than one connection provider
was found. Use " +
- s"${ENGINE_JDBC_CONNECTION_PROVIDER.key} option to select a
specific provider. " +
- s"Found active providers ${filteredProviders.mkString("[", ", ",
"]")}")
+ warn("JDBC connection initiated but more than one connection
provider was found. Use " +
Review Comment:
How about that?
```
The connection provider is used for getting a connection from the server. By
default, kyuubi provides four connection provider: DorisConnectionProvider,
MySQLConnectionProvider, PhoenixConnectionProvider, and
PostgreSQLConnectionProvider.Used to disambiguate when more than one provider
can handle the specified driver and options.
```
--
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]