snuyanzin commented on a change in pull request #17899:
URL: https://github.com/apache/flink/pull/17899#discussion_r766267948
##########
File path:
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/CastFunctionITCase.java
##########
@@ -945,12 +945,11 @@ protected Configuration configuration() {
"2021-09-27 12:34:56.123",
fromLocalToUTC(
LocalDateTime.of(2021, 9, 27, 12, 34,
56, 123000000)))
- // https://issues.apache.org/jira/browse/FLINK-24446
Fractional seconds are
- // lost
.fromCase(
STRING(),
"2021-09-27 12:34:56.123456789",
- fromLocalToUTC(LocalDateTime.of(2021, 9, 27,
12, 34, 56, 0)))
+ fromLocalToUTC(
+ LocalDateTime.of(2021, 9, 28, 22, 52,
32, 789000000)))
Review comment:
May be a stupid question however could you please clarify why in String
value there is `123456789` as fractions of seconds and in target `789000000` ?
--
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]