mneedham commented on a change in pull request #7774:
URL: https://github.com/apache/pinot/pull/7774#discussion_r751518297
##########
File path:
pinot-clients/pinot-jdbc-client/src/main/java/org/apache/pinot/client/PinotDriver.java
##########
@@ -68,6 +69,9 @@ public Connection connect(String url, Properties info)
PinotClientTransport pinotClientTransport = factory.buildTransport();
String controllerUrl = DriverUtils.getControllerFromURL(url);
String tenant = info.getProperty(INFO_TENANT, DEFAULT_TENANT);
+
+ if(!headers.isEmpty())
+ new PinotConnection(controllerUrl, pinotClientTransport, tenant, new
PinotControllerTransport(headers));
Review comment:
@Jackie-Jiang you can see the issue on this Slack thread -
https://apache-pinot.slack.com/archives/CDRCA57FC/p1636968098246300
--
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]