-
Notifications
You must be signed in to change notification settings - Fork 907
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
Support reading bloom filters from Parquet files and filter row groups using them #17289
base: branch-25.02
Are you sure you want to change the base?
Support reading bloom filters from Parquet files and filter row groups using them #17289
Conversation
@@ -4341,3 +4342,56 @@ def test_parquet_reader_mismatched_nullability_structs(tmpdir): | |||
cudf.read_parquet([buf2, buf1]), | |||
cudf.concat([df2, df1]).reset_index(drop=True), | |||
) | |||
|
|||
|
|||
@pytest.mark.parametrize( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filtering using StatsAST (no bloom filters here) and BloomFilters (no stats here) yields the same data frames. Though, there is no way other than manual prints/debugging to tell if filtering is yielding correct results. I verified the filtered row groups manually for these cases but we should implement some way to measure this (in another PR perhaps).
Mixing StatsAST and Bloom Filters is unpredictable especially for numeric columns as stats filter numeric cols really well.
CC: @etseidl |
Description
This PR adds support to read bloom filters from Parquet files and use them to filter row groups based on
col == literal
like predicate(s), if provided.Related to #17164
Could use some ideas:
Checklist