stoty commented on code in PR #2107:
URL: https://github.com/apache/phoenix/pull/2107#discussion_r2037069404


##########
phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/ConnectionInfo.java:
##########
@@ -525,6 +546,11 @@ protected String normalizeHostsList(String quorum, Integer 
defaultPort)
                     normalizedParts[i] = hostAndPort[0].trim().toLowerCase() + 
":" + defaultPort;
                 } else if (hostAndPort.length == 2) {
                     normalizedParts[i] = quorumParts[i].trim().toLowerCase();
+                } else if (hostAndPort.length > 2 && 
hostAndPort[hostAndPort.length - 1].contains("]")) {

Review Comment:
   This is a bit iffy.
   Maybe we should just something else instead of '=' to replace the colons in 
the ipv6 address ?



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

Reply via email to