You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/09/05 23:42:10 UTC

[GitHub] [hudi] yihua commented on a diff in pull request #6544: When Hudi choose Append save mode in Spark , the basepath may be error codes

yihua commented on code in PR #6544:
URL: https://github.com/apache/hudi/pull/6544#discussion_r963154328


##########
hudi-common/src/main/java/org/apache/hudi/common/table/view/RemoteHoodieTableFileSystemView.java:
##########
@@ -176,7 +178,8 @@ private <T> T executeRequest(String requestPath, Map<String, String> queryParame
         response = Request.Post(url).connectTimeout(timeout).socketTimeout(timeout).execute();
         break;
     }
-    String content = response.returnContent().asString();
+    Charset charset = Consts.UTF_8;
+    String content = response.returnContent().asString(charset);

Review Comment:
   @nsivabalan we have the support of UTF-8 in the base path so this should be fine?



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org