Karl-WangSK commented on a change in pull request #2260:
URL: https://github.com/apache/hudi/pull/2260#discussion_r570771434
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieActiveTimeline.java
##########
@@ -90,6 +90,20 @@ public static String createNewInstantTime() {
});
}
+ /**
+ * Returns next instant time that adds milliseconds in the {@link
#COMMIT_FORMATTER} format.
+ * Ensures each instant time is atleast 1 second apart since we create
instant times at second granularity
+ */
+ public static String createNewInstantTime(long milliseconds) {
Review comment:
ok
----------------------------------------------------------------
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]