danny0405 commented on code in PR #11545:
URL: https://github.com/apache/hudi/pull/11545#discussion_r1665132485


##########
hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieInstant.java:
##########
@@ -136,10 +136,7 @@ public HoodieInstant(StoragePathInfo pathInfo) {
           state = State.COMPLETED;
         }
       }
-      completionTime = timestamps.length > 1
-          ? timestamps[1]
-          // for backward compatibility with 0.x release.
-          : state == State.COMPLETED ? pathInfo.getModificationTime() + "" : 
null;
+      completionTime = timestamps.length > 1 ? timestamps[1] : null;

Review Comment:
   I think we still need to keep these logic, a downgrade logic in there is 
good but we also need to be compatible for 0.x for some code path.



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