Skip to content

Fix prefilter bitmap host buffer under-allocation in Java bindings - #2375

Merged
rapids-bot[bot] merged 1 commit into
NVIDIA:release/26.08from
imotov:fix-prefilter-underallocation
Jul 29, 2026
Merged

Fix prefilter bitmap host buffer under-allocation in Java bindings#2375
rapids-bot[bot] merged 1 commit into
NVIDIA:release/26.08from
imotov:fix-prefilter-underallocation

Conversation

@imotov

@imotov imotov commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

In the Java code the prefilter is defined as a BitSet and then converted for the C layer via BitSet.toLongArray(). Unfortunately, that method trims trailing zero words while the rest of the code seems to expect a full-length buffer, so documents at the end of the filter that should be excluded can leak into the results.

In the Java code the prefilter is defined as a BitSet and then converted for the C layer via BitSet.toLongArray(). Unfortunately, that method trims trailing zero words while the rest of the code seems to expect a full-length buffer, so documents at the end of the filter that should be excluded can leak into the results.
@imotov
imotov requested a review from a team as a code owner July 29, 2026 03:12
@imotov imotov added bug Something isn't working non-breaking Introduces a non-breaking change labels Jul 29, 2026
@cjnolet

cjnolet commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

/merge

@rapids-bot
rapids-bot Bot merged commit e34335c into NVIDIA:release/26.08 Jul 29, 2026
87 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants