jackjlli commented on code in PR #9426:
URL: https://github.com/apache/pinot/pull/9426#discussion_r975632488
##########
pinot-plugins/pinot-file-system/pinot-s3/src/main/java/org/apache/pinot/plugin/filesystem/S3PinotFS.java:
##########
@@ -606,4 +607,26 @@ public void close()
throws IOException {
super.close();
}
+
+ public static String sanitizeURIString(String uriStr) {
+ if (uriStr.contains(" ")) {
+ // Not using URLEncoder here since it also encodes the / and : characters
+ // due to which uri.getScheme returns null
+ uriStr = uriStr.replace(" ", "%20");
+ }
+ return uriStr;
+ }
+
+
+ public static void main(String[] args) throws Exception {
Review Comment:
You may not need this code change in your PR.
--
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]