gianm commented on code in PR #18886:
URL: https://github.com/apache/druid/pull/18886#discussion_r2670846375
##########
multi-stage-query/src/main/java/org/apache/druid/msq/dart/controller/sql/DartSqlClientFactoryImpl.java:
##########
@@ -55,10 +55,16 @@ public DartSqlClient makeClient(DruidNode node)
{
final ServiceClient client = clientFactory.makeClient(
StringUtils.format("%s[dart-sql]", node.getHostAndPortToUse()),
- new
FixedServiceLocator(ServiceLocation.fromDruidNode(node).withBasePath(SqlResource.PATH)),
+ new FixedServiceLocator(ServiceLocation.fromDruidNode(node)
+
.withBasePath(removeTrailingSlash(SqlResource.PATH))),
StandardRetryPolicy.noRetries()
);
return new DartSqlClientImpl(client, jsonMapper);
}
+
+ private static String removeTrailingSlash(String path)
Review Comment:
Ha, I thought there was something but couldn't find it. Updated.
--
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]