-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Speed up Parquet filter pushdown v4 (Predicate evaluation cache for async_reader) #7850
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
Changes from 1 commit
1f93a93
2e01e56
0bd08c3
d6ecbd4
7cd5518
4520048
e6281bc
6b6d4fc
b696b66
f60581f
1851f0b
5e414a8
58add51
470cc01
2bf3d38
2cf1a8f
86e149c
4d24172
be134d6
eecaf99
5537bcb
b835163
5132de8
253dad3
5d9781e
2e20902
721d00c
f8aed80
884b591
4f6b918
6c53bfd
8ebe579
c240a52
30a0d1c
ed3ce13
42d5520
6e618b3
f70e46a
15d6826
bec6d9c
3e05cb2
4d64dc0
8da582b
315e463
1db701a
bea4433
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -621,12 +621,12 @@ where | |
|
|
||
| let mut cache_projection = predicate.projection().clone(); | ||
| cache_projection.intersect(&projection); | ||
|
||
| let array_reader = ArrayReaderBuilder::new(&row_group).build_array_reader( | ||
| self.fields.as_deref(), | ||
| predicate.projection(), | ||
| &cache_projection, | ||
| row_group_cache.clone(), | ||
| )?; | ||
| let array_reader = ArrayReaderBuilder::new(&row_group) | ||
| .build_array_reader_with_cache( | ||
| self.fields.as_deref(), | ||
| predicate.projection(), | ||
| (&cache_projection, row_group_cache.clone()), | ||
| )?; | ||
|
|
||
| plan_builder = plan_builder.with_predicate(array_reader, predicate.as_mut())?; | ||
| } | ||
|
|
@@ -673,13 +673,11 @@ where | |
|
|
||
| let plan = plan_builder.build(); | ||
|
|
||
| let array_reader = ArrayReaderBuilder::new(&row_group) | ||
| .build_array_reader( | ||
| self.fields.as_deref(), | ||
| &projection, | ||
| &cache_projection, | ||
| row_group_cache.clone(), | ||
| )?; | ||
| let array_reader = ArrayReaderBuilder::new(&row_group).build_array_reader_with_cache( | ||
| self.fields.as_deref(), | ||
| &projection, | ||
| (&cache_projection, row_group_cache.clone()), | ||
| )?; | ||
|
|
||
| let reader = ParquetRecordBatchReader::new(array_reader, plan); | ||
|
|
||
|
|
||
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.
nested columns not support yet