Jackie-Jiang commented on pull request #8228:
URL: https://github.com/apache/pinot/pull/8228#issuecomment-1047343041


   > At the moment, getNexBlock has a conditional split for all/partially 
ordered columns (where computeAllOrdered is where all columns in select are 
also in the order by if I understand correctly )
   > 
   > If we introduce a case for when all orderBy columns are pre-sorted (early 
termination case) then wouldn't we again have a allOrdered/partialOrdered case 
within that as well?
   
   No. If all the order-by columns are sorted, we can simply pick the first 
`limit` docs without worrying about the optimization of partialOrdered case.


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