Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.16.0
-
None
Description
Currently, when reading data in SortMergeResultPartitionReadScheduler, the reader is added to the priority queue immediately. However, the data read from this reader may not have been consumed, which will cause this reader to be ranked later in the queue, which is unfavorable to sequential reading.
To solve the issue, After reading the data, we should sort all unfinished readers in batches at one time, that is, add all unfinished readers to the priority queue, which is more conducive to sequential reading.
Attachments
Issue Links
- links to