Jackie-Jiang opened a new pull request, #9453:
URL: https://github.com/apache/pinot/pull/9453

   When range index is applied to a raw (no-dictionary) column, we need to 
check `max >= _min` before reading the range bitmap. Failed to do so will 
result in matching all docs instead of no docs as expected (note that negative 
`max - _min` will be treated as a huge unsigned long).
   
   This PR fixes the range check, and also some minor fix/enhancement:
   - Handle the case of `_max` value not available from the metadata
   - Do not read range bitmap when not needed
   
   During this bug fix, found a bug in RangeIndex and tracked under the issue: 
https://github.com/RoaringBitmap/RoaringBitmap/issues/586


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