lidavidm commented on code in PR #12941: URL: https://github.com/apache/arrow/pull/12941#discussion_r855524920
########## java/flight/flight-sql/src/main/java/org/apache/arrow/flight/sql/FlightSqlClient.java: ########## @@ -346,7 +345,7 @@ public FlightInfo getExportedKeys(final TableRef tableRef, final CallOption... o } Objects.requireNonNull(tableRef.getTable()); - builder.setTable(tableRef.getTable()).build(); Review Comment: The warning is only saying that you're ignoring the reuslt of `build()`. So you can presumably remove the `build`, but keep the rest of the line. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org