lidavidm commented on code in PR #12692:
URL: https://github.com/apache/arrow/pull/12692#discussion_r880842894
##########
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'm still not entirely convinced we can remove `innerVectorIndex` here?
--
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]