docete commented on code in PR #24818:
URL: https://github.com/apache/flink/pull/24818#discussion_r1615726176


##########
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:
   Thanks for reviewing this @twalthr. Used 
`org.apache.flink.util.InstantiationUtil#serializeToByteArray` in 
`serializeLocalDateTime` because because it may throw `IOException`



-- 
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

Reply via email to