Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exhaustively iterate ColumnarToRow iterator to avoid leaks #4428

Merged
merged 1 commit into from
Jan 4, 2022

Conversation

jlowe
Copy link
Contributor

@jlowe jlowe commented Dec 22, 2021

Fixes #4422. ColumnarToRowIterator will close its current batch via a task completion listener, but during unit tests there is no task context to leverage and thus the test must ensure the iterator is exhausted to ensure the batch is closed. In each of these cases the iterator was almost exhausted, but it was lacking a final hasNext to trigger the batch closing. Arguably this was a missed check in each of these tests anyway.

@jlowe jlowe added the test Only impacts tests label Dec 22, 2021
@jlowe jlowe added this to the Dec 13 - Jan 7 milestone Dec 22, 2021
@jlowe jlowe self-assigned this Dec 22, 2021
@jlowe
Copy link
Contributor Author

jlowe commented Jan 4, 2022

build

@jlowe jlowe merged commit cb80501 into NVIDIA:branch-22.02 Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Host column vectors are being leaked during tests
2 participants