Jackie-Jiang commented on issue #10986:
URL: https://github.com/apache/pinot/issues/10986#issuecomment-1645085416

   I think I might find the issue, and it is in pinot side. In 
`BitSlicedRangeIndexReader`:
   ```
     private ImmutableRoaringBitmap queryRangeBitmap(long value, long 
columnMax) {
       RangeBitmap rangeBitmap = mapRangeBitmap();
       if (Long.compareUnsigned(value, columnMax) < 0) {
         return rangeBitmap.eq(value).toMutableRoaringBitmap();
       } else {
         return new MutableRoaringBitmap();
       }
     }
   ```
   The if check should be `<= 0` instead of `<0`. We probably made the mistake 
by copying the logic for range predicate.


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