-
Notifications
You must be signed in to change notification settings - Fork 916
Update arrow_reader_row_filter benchmark to reflect ClickBench distribution #7461
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
base: main
Are you sure you want to change the base?
Conversation
Unfortunately, even after adjusting the benchmark on this branch I still don't see major changes in #7428. I will look more deeply tomorrow cargo bench --all-features --bench arrow_reader_row_filter -- Utf8ViewNonEmpty Main compared to #7428
|
Thank you @alamb for this work, so we still need to investigate more. Is it possible that we can get a 10% data set from hit.parquet and do some benchmark from arrow-rs side. |
That is an interesting idea -- to make make a benchmark in arrow-rs that runs against hits.parquet (and hits_partitioned) directly 🤔 (and e.g. could require downloading those files before running). |
I am trying to do the first step, may be we can download a partition hit.parquet, and pick it as the data set to arrow-rs, because we have 100 partition file, it seems about %1 data which can be mocked. |
I have been thinking about it too -- I probably won't have a chance this weekend but can work on it next week |
Will keep at it tomorrow |
Which issue does this PR close?
Rationale for this change
We would like a benchmark that accurately reflects the predicate patterns we see in ClickBench.
See full analysis here #7460 (comment)
ClickHouse Data in
hits.parquet
:13172392
/99997497
=0.132
RowSelections
=14054784
RowSelection
:99997497
/14054784
=7.114
Data in the arrow_reader_row_filter benchmark:
80147
/100000
=0.8
67989
100000 / 32010
=3.1
What changes are included in this PR?
Change distribution of the string view so it is much closer to parquet data (the selectivity especially)
15144
/100000
=0.15144
12904
100000
/12904
= 7.75Are there any user-facing changes?
No, this is a benchmark only
Here is the new file generated by this change: new_test.zip