jerryshao commented on code in PR #8336:
URL: https://github.com/apache/gravitino/pull/8336#discussion_r2307294862


##########
clients/client-java/src/main/java/org/apache/gravitino/client/FilesetCatalog.java:
##########
@@ -249,9 +249,9 @@ public String getFileLocation(NameIdentifier ident, String 
subPath, String locat
       CallerContext callerContext = CallerContext.CallerContextHolder.get();
 
       Map<String, String> params = new HashMap<>();
-      params.put("sub_path", RESTUtils.encodeString(subPath));

Review Comment:
   Java and Python http client will help to encode the query parameters 
automatically, doing this manually will introduce the double encoding problem.



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