Skip to content

Conversation

@tianchen92
Copy link
Contributor

Related to ARROW-6709.
Currently, in several consumers, currentIndex only increments when ResultSet was not null.
However, if ResultSet contains null values, the Arrow vector valueCount is not correct.

@tianchen92
Copy link
Contributor Author

@emkornfield Hmm, unfortunately, I just found a bug, could this change catch up with 0.15?

@emkornfield
Copy link
Contributor

We don't have unit test coverage for this case?

@emkornfield
Copy link
Contributor

Could you add unit tests for nulls as in a follow-up PR

@tianchen92
Copy link
Contributor Author

Could you add unit tests for nulls as in a follow-up PR

Thanks Micah
Ok, I will check the existing tests and add new ones if necessary

pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
Related to [ARROW-6709](https://issues.apache.org/jira/browse/ARROW-6709).
Currently, in several consumers, currentIndex only increments when ResultSet was not null.
However, if ResultSet contains null values, the Arrow vector valueCount is not correct.

Closes apache#5511 from tianchen92/ARROW-6709 and squashes the following commits:

b1e9d5a <tianchen> ARROW-6709:  Jdbc adapter currentIndex should increment when value is null

Authored-by: tianchen <[email protected]>
Signed-off-by: Micah Kornfield <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants