bowenli86 commented on a change in pull request #11538: [FLINK-16813][jdbc]  
JDBCInputFormat doesn't correctly map Short
URL: https://github.com/apache/flink/pull/11538#discussion_r403184113
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/util/StringUtils.java
 ##########
 @@ -139,8 +139,16 @@ public static String arrayToString(Object array) {
                if (array instanceof long[]) {
                        return Arrays.toString((long[]) array);
                }
-               if (array instanceof Object[]) {
-                       return Arrays.toString((Object[]) array);
+               // for array of byte array
+               if (array instanceof byte[][]) {
 
 Review comment:
   maybe it should be added later, I haven't seen a case yet. 
   
   We need byte[][] as pg supports array of byte array. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to