HuangXingBo commented on code in PR #19834: URL: https://github.com/apache/flink/pull/19834#discussion_r885290950
########## flink-python/src/main/java/org/apache/flink/table/utils/python/PythonTableUtils.java: ########## @@ -512,7 +512,8 @@ private static Function<Object, Object> converter( } return c -> { - if (c.getClass() != byte[].class || dataType instanceof PickledByteArrayTypeInfo) { + if (c != null && c.getClass() != byte[].class Review Comment: If c== null, we should return c immediately. -- 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