yuzelin commented on code in PR #1109:
URL: https://github.com/apache/incubator-paimon/pull/1109#discussion_r1189808993
##########
paimon-common/src/main/java/org/apache/paimon/utils/DateTimeUtils.java:
##########
@@ -416,6 +416,10 @@ public static Timestamp parseTimestampData(String dateStr,
int precision)
fromTemporalAccessor(DEFAULT_TIMESTAMP_FORMATTER.parse(dateStr), precision));
}
+ public static LocalDateTime toLocalDateTime(String dateStr) {
+ return
fromTemporalAccessor(DEFAULT_TIMESTAMP_FORMATTER.parse(dateStr), 0);
Review Comment:
My thought was currently we don't need the nanoseconds part. Maybe the
default can be 9.
--
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]