boneanxs commented on code in PR #7627:
URL: https://github.com/apache/hudi/pull/7627#discussion_r1172539567
##########
hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieInstant.java:
##########
@@ -226,6 +275,8 @@ public int compareTo(HoodieInstant o) {
@Override
public String toString() {
- return "[" + ((isInflight() || isRequested()) ? "==>" : "") + timestamp +
"__" + action + "__" + state + "]";
+ return "[" + ((isInflight() || isRequested()) ? "==>" : "")
+ + timestamp + "__" + action + "__" + state
+ + (StringUtils.isNullOrEmpty(stateTransitionTime) ? "" : ("__" +
stateTransitionTime)) + "]";
}
Review Comment:
I changed `stateTransitionTime` default to null to keep the consistent
behavior in `HoodieArchivedMetaEntry`
--
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]