J-HowHuang opened a new pull request, #20068:
URL: https://github.com/apache/pinot/pull/20068

   ## Description
   Currently if a query enabled prefetch, all segments would get a fetch 
context through a `FetchPlanner`. However, for segments that doesn't need any 
fetch, this step is unnecessary and can add overhead in query time.
   
   ## Change
   add method `requiresFetch()` to `IndexSegment` and `SegmentDirectory` to 
provide info of whether a segment need a fetch or not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to