pan3793 commented on code in PR #5588:
URL: https://github.com/apache/kyuubi/pull/5588#discussion_r1391020926
##########
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:
@Kwafoor your suggestion LGTM, but I get no idea after reading the
description of `kyuubi.engine.jdbc.connection.provider`, could you please
enrich the docs?
```
The connection provider is used for getting a connection from the server
```
--
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]