twalthr commented on code in PR #24818: URL: https://github.com/apache/flink/pull/24818#discussion_r1613283206
########## flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/CastFunctionMiscITCase.java: ########## @@ -384,4 +410,15 @@ public static class LocalDateTimeToRaw extends ScalarFunction { return LocalDateTime.parse(str); } } + + public static byte[] serializeLocalDateTime(LocalDateTime localDateTime) { Review Comment: use the existing utility `org.apache.flink.util.InstantiationUtil#serializeToByteArray` -- 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