CTTY commented on code in PR #6882:
URL: https://github.com/apache/hudi/pull/6882#discussion_r989549646
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieCreateHandle.java:
##########
@@ -235,10 +234,10 @@ protected void setupWriteStatus() throws IOException {
stat.setNumInserts(insertRecordsWritten);
stat.setPrevCommit(HoodieWriteStat.NULL_COMMIT);
stat.setFileId(writeStatus.getFileId());
- stat.setPath(new Path(config.getBasePath()), path);
+ stat.setPath(FSUtils.getLogicalRelativeFilePathStr(partitionPath,
physicalPath.getName()));
Review Comment:
In `HoodieCommitMetadata` / `HoodieWriteStat`, Hudi would still store
logical path there
--
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]