-
Notifications
You must be signed in to change notification settings - Fork 108
Segment prefetcher #2613
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
Segment prefetcher #2613
Conversation
Benchmarks: TPC-H on NVMETable of Results
|
Benchmarks: Clickbench on NVMETable of Results
|
Benchmarks: TPC-H on S3Table of Results
|
a30f27c to
6bf0490
Compare
robert3005
left a comment
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.
Did a first pass, I think I need to spend more time looking at ordering and cancellations
Co-authored-by: Robert Kruszewski <github@robertk.io>
Co-authored-by: Robert Kruszewski <github@robertk.io>
Co-authored-by: Robert Kruszewski <github@robertk.io>
| } | ||
|
|
||
| impl SegmentCollector { | ||
| pub fn with_priority_hint(&self, kind: RequiredSegmentKind) -> Self { |
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.
This is a bit weird, that e.g. LayoutReaders are exposed to this API and have the possibility of calling it at all
| &self, | ||
| layout: &Layout, | ||
| row_offset: u64, | ||
| filter_field_mask: &[FieldMask], |
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.
I think you should just take a single field mask and call this function twice?
| /// Compute masks of field paths referenced by the projection and filter in the scan. | ||
| /// | ||
| /// Projection and filter must be pre-simplified. | ||
| fn filter_and_projection_masks( |
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.
This function kind of does two things interleaved? Can you just have a single function that returns a FieldMask from an ExprRef + DType?
No description provided.