gianm commented on issue #13152:
URL: https://github.com/apache/druid/issues/13152#issuecomment-1270575521

   Thinking about it a bit more. I think it makes the most sense to do the 
sorting in the runner from createRunner. I actually think that is already 
happening: check out the makeCursors call in ScanQueryEngine. It is either 
ascending or descending based on the time order of the query.
   
   So mergeRunners just needs to merge runners that are already sorted. In the 
inline case, there is only one runner, so there's nothing to do. We can return 
it as-is.
   
   What do you think?


-- 
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