apache / apache/datafusion

Incorrect results: Bloom filters on `UInt8`, `Int8`, `UInt16` and `Int16` columns always return false negatives

Open
#9,779 6 comments 0 reactions 0 assignees View on GitHub
bug waiting-on-upstream
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Describe the bug

Bloom filters on these columns always filter out every value.

### To Reproduce

#9778 demonstrates this, through `correct_bloom_filters: false` as macro "parameter".

### Expected behavior

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the reproduction described in #9778, including the correct_bloom_filters macro parameter, and trace the Bloom-filter path for UInt8, Int8, UInt16, and Int16 columns. Confirm the fix by verifying that these types no longer filter out every value and that the reproduction passes without false negatives.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.