nsivabalan commented on code in PR #12321:
URL: https://github.com/apache/hudi/pull/12321#discussion_r1857715046


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieMergeHandle.java:
##########
@@ -171,6 +171,7 @@ private void init(String fileId, String partitionPath, 
HoodieBaseFile baseFileTo
     try {
       String latestValidFilePath = baseFileToMerge.getFileName();
       writeStatus.getStat().setPrevCommit(baseFileToMerge.getCommitTime());
+      writeStatus.getStat().setPrevBaseFile(latestValidFilePath);

Review Comment:
   At the moment, we only support SI for overwrite with latest payload. So, we 
don't need to embed entire file slice here.
   HUDI-8518 will be taken up to fix it for any payload during which we might 
require entire file slice to be set here.
   btw, already AppendHandle adds all logs file from current file slice to 
HoodieDeltaWriteStat.



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