tibrewalpratik17 commented on issue #12397:
URL: https://github.com/apache/pinot/issues/12397#issuecomment-1939204036

   One more scenario I want to confirm is what happens when the values of 
SortedColumn are equal? Is it definite that the result will be sorted in 
ascending order of DocIds. Sorry I could have written a UT myself and 
confirmed; just hope this would be quicker. 
   
   I see this part of code does the processing:
   
   
https://github.com/apache/pinot/blob/43dadbfd96a70c19a9ac83bb6c0c35f3fa58bffb/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/indexsegment/mutable/MutableSegmentImpl.java#L1029-L1042
   
   But not sure if Roaring BitMap guarantees that batches and the items within 
the batches are going to be in increasing order. Didn't find any relevant docs 
with a quick search. 


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