zzwqqq commented on code in PR #4942:
URL: https://github.com/apache/calcite/pull/4942#discussion_r3295979029
##########
core/src/main/java/org/apache/calcite/util/BuiltInMethod.java:
##########
@@ -784,8 +779,12 @@ public enum BuiltInMethod {
String.class, int.class),
UNIX_DATE_TO_STRING(DateTimeUtils.class, "unixDateToString", int.class),
UNIX_TIME_TO_STRING(DateTimeUtils.class, "unixTimeToString", int.class),
+ UNIX_TIME_TO_STRING_WITH_PRECISION(DateTimeUtils.class, "unixTimeToString",
Review Comment:
Right. I ran into this while debugging
`CalciteSqlOperatorTest.testConcatWSFunc`. This is still limited by the runtime
representation; a lot of the enumerable path uses milliseconds / Calendar
internally, so this only preserves up to 3 fractional digits today.
--
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]