Commits


Todd Farmer authored and David Li committed 2025673f0c4
ARROW-16035: [Java] Handling empty JDBC ResultSet ArrowVectorIterator.hasNext() delegates to the underlying resultset.isAfterLast() method, but per JDBC specs, this [should return false in the case of empty ResultSets](https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/ResultSet.html#isAfterLast()). This causes hasNext() to return true for empty ResultSets, triggering infinite loops. Closes #13049 from toddfarmer/tofarmer/fix-hasnext-for-empty-resultset Authored-by: Todd Farmer <todd@fivefarmers.com> Signed-off-by: David Li <li.davidm96@gmail.com>