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


##########
hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieInstantTimeGenerator.java:
##########
@@ -155,6 +156,10 @@ public static String 
getInstantFromTemporalAccessor(TemporalAccessor temporalAcc
     return MILLIS_INSTANT_TIME_FORMATTER.format(temporalAccessor);
   }
 
+  public static String getCurrentTimeAsString() {
+    return 
Instant.now().atZone(HoodieTimelineTimeZone.UTC.getZoneId()).toLocalDateTime().format(MILLIS_INSTANT_TIME_FORMATTER);

Review Comment:
   getCurrentTimeAsString -> getCurrentInstantTimeStr ? And also fix the 
timezone to be as what already set up there.



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