tom-s-powell commented on a change in pull request #12692:
URL: https://github.com/apache/arrow/pull/12692#discussion_r832373127
##########
File path:
java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/consumer/ArrayConsumer.java
##########
@@ -90,13 +97,12 @@ public void consume(ResultSet resultSet) throws
SQLException, IOException {
int count = 0;
try (ResultSet rs = array.getResultSet()) {
while (rs.next()) {
- ensureInnerVectorCapacity(innerVectorIndex + count + 1);
Review comment:
I couldn't work out the value of this `innerVectorIndex`? It didn't seem
to ever be reset but nor did it seem to be used when consuming results.
--
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]