garyli1019 commented on a change in pull request #3047:
URL: https://github.com/apache/hudi/pull/3047#discussion_r647307513



##########
File path: 
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/io/FlinkMergeHandle.java
##########
@@ -94,6 +94,9 @@ private void deleteInvalidDataFile(long lastAttemptId) {
     final String lastDataFileName = FSUtils.makeDataFileName(instantTime,
         lastWriteToken, this.fileId, hoodieTable.getBaseFileExtension());
     final Path path = makeNewFilePath(partitionPath, lastDataFileName);
+    if (path.equals(oldFilePath)) {

Review comment:
       what happened here? Can we add a comment here explain why?




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to