alexeykudinkin commented on a change in pull request #5181:
URL: https://github.com/apache/hudi/pull/5181#discussion_r840744913
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/util/DateTimeUtils.java
##########
@@ -39,6 +39,35 @@
private static final Map<String, ChronoUnit> LABEL_TO_UNIT_MAP =
Collections.unmodifiableMap(initMap());
+ /**
+ * Converts provided microseconds (from epoch) to {@link Instant}
+ */
+ public static Instant microsToInstant(long microsFromEpoch) {
Review comment:
The whole reason this methods are here is b/c we can't use
TimeConversions -- due to discrepancies in code-gen b/w Avro versions (they
work on different Java classes)
--
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]