BePPPower commented on code in PR #16958: URL: https://github.com/apache/doris/pull/16958#discussion_r1112489706
########## fe/java-udf/src/main/java/org/apache/doris/udf/JdbcExecutor.java: ########## @@ -315,11 +316,19 @@ private void shortPutToByte(Object[] column, boolean isNullable, int numRows, lo public void copyBatchTinyIntResult(Object columnObj, boolean isNullable, int numRows, long nullMapAddr, long columnAddr) { Object[] column = (Object[]) columnObj; - if (column[0] instanceof BigDecimal) { + int firstNotNullIndex = 0; + if (isNullable) { + firstNotNullIndex = getFirstNotNullObject(column, numRows, nullMapAddr); + } Review Comment: done -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org