BiGsuw commented on code in PR #19834:
URL: https://github.com/apache/flink/pull/19834#discussion_r886368041


##########
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:
   @HuangXingBo  Thanks for your comment,
   you're right,  this is a judgment that the data type is not what we want, I 
will change it now



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

Reply via email to