yiyutian1 commented on code in PR #25763: URL: https://github.com/apache/flink/pull/25763#discussion_r1886085970
########## flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/planner/expressions/TemporalTypesTest.scala: ########## @@ -1140,41 +1140,41 @@ class TemporalTypesTest extends ExpressionTestBase { tableConfig.setLocalTimeZone(ZoneId.of("Asia/Shanghai")) // INT -> TIMESTAMP_LTZ - testAllApis(toTimestampLtz(100, 0), "TO_TIMESTAMP_LTZ(100, 0)", "1970-01-01 08:01:40") + testAllApis(toTimestampLtz(100, 0), "TO_TIMESTAMP_LTZ(100, 0)", "1970-01-01 08:01:40.000") // TINYINT -> TIMESTAMP_LTZ testAllApis( toTimestampLtz(100.cast(DataTypes.TINYINT()), 0), "TO_TIMESTAMP_LTZ(CAST(100 AS TINYINT), 0)", - "1970-01-01 08:01:40") + "1970-01-01 08:01:40.000") // BIGINT -> TIMESTAMP_LTZ testAllApis( toTimestampLtz(100.cast(DataTypes.BIGINT()), 0), "TO_TIMESTAMP_LTZ(CAST(100 AS BIGINT), 0)", - "1970-01-01 08:01:40") + "1970-01-01 08:01:40.000") // FLOAT -> TIMESTAMP_LTZ testAllApis( toTimestampLtz(100.01.cast(DataTypes.FLOAT()), 0), "TO_TIMESTAMP_LTZ(CAST(100.01 AS FLOAT), 0)", - "1970-01-01 08:01:40") + "1970-01-01 08:01:40.010") Review Comment: Revert to the original test case. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org