vibhatha commented on code in PR #40988:
URL: https://github.com/apache/arrow/pull/40988#discussion_r1550594596
##########
java/flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/ArrowDatabaseMetadata.java:
##########
@@ -754,7 +754,11 @@ private <T> T getSqlInfoAndCacheIfCacheIsEmpty(final
SqlInfo sqlInfoCommand,
}
private String convertListSqlInfoToString(final List<?> sqlInfoList) {
- return
sqlInfoList.stream().map(Object::toString).collect(Collectors.joining(", "));
+ if (sqlInfoList == null) {
Review Comment:
Could the items in the list be null?
Should we explicitly handle it?
--
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]