danny0405 commented on code in PR #10255:
URL: https://github.com/apache/hudi/pull/10255#discussion_r1425028862
##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/InstantRange.java:
##########
@@ -60,8 +63,8 @@ public String getEndInstant() {
@Override
public String toString() {
return "InstantRange{"
- + "startInstant='" + startInstant == null ? "null" : startInstant +
'\''
- + ", endInstant='" + endInstant == null ? "null" : endInstant + '\''
+ + "startInstant='" + (startInstant == null ? "null" : startInstant) +
'\''
+ + ", endInstant='" + (endInstant == null ? "null" : endInstant) + '\''
+ ", rangeType='" + this.getClass().getSimpleName() + '\''
Review Comment:
yeah, we do not hold the range type in the range object, so the class name
makes sense, will refactor it when moving the package.
--
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]