wuchong 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_r401421223
########## 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: Do we need to handle other nested arrays? e.g. long[][] ? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services