-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Split parquet bloom filter config and enable bloom filter on read by default #10306
Split parquet bloom filter config and enable bloom filter on read by default #10306
Conversation
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.
Thank you @lewiszlw -- I think this looks great 🙏
I had some suggestions on naming, comments, and tests. Let me know what you think
@@ -515,7 +515,7 @@ statement ok | |||
CREATE EXTERNAL TABLE data_index_bloom_encoding_stats STORED AS PARQUET LOCATION '../../parquet-testing/data/data_index_bloom_encoding_stats.parquet'; | |||
|
|||
statement ok | |||
set datafusion.execution.parquet.bloom_filter_enabled=true; | |||
set datafusion.execution.parquet.bloom_filter_on_read_enabled=true; |
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.
It seems like this test was to ensure we had end to end coverage, so now that we switched the default the meaning / coverage has changed
Perhaps we can change it so:
- verify the setting with
show datafusion.execution.parquet.bloom_filter_on_read_enabled
- Add a second set of queries with
set datafusion.execution.parquet.bloom_filter_on_read_enabled=false
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.
Done
Co-authored-by: Andrew Lamb <[email protected]>
Co-authored-by: Andrew Lamb <[email protected]>
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.
statement ok | ||
set datafusion.execution.parquet.bloom_filter_enabled=true; | ||
set datafusion.execution.parquet.bloom_filter_on_read=false; |
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.
👍
Thank you @lewiszlw for taking this one on! |
Thanks again @lewiszlw |
Which issue does this PR close?
Closes #10299.
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?