-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge?
The current Parquet reader has the following pattern:
- Do I/O to buffer data needed for row groups
- Decode the data (make RecordBatches)
- fetching IO for next row group
- ...
The issue is that this means that after the row group is finished, the CPU will then have to wait for IO before it can begin decoding the next row group. We could use the CPUs more efficiently if we overlapped IO and CPU more
Describe the solution you'd like
Prefetch the next row group (to start the IO) while actively reading the current group
Describe alternatives you've considered
I made a POC of this approach and it looks promising (improves performance locally for very short queries)
Additional context
No response
zhuqi-lucas
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request