Skip to content

Commit

Permalink
use gte(let) to replace between() which has a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
klsince committed Mar 7, 2024
1 parent 797e39c commit f35159b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ private ImmutableRoaringBitmap queryRangeBitmap(long min, long max, long columnM
if (min == max) {
return rangeBitmap.eq(min).toMutableRoaringBitmap();
}
return rangeBitmap.between(min, max).toMutableRoaringBitmap();
// TODO: found bug in between() and use gte(lte) as a workaround for now.
return rangeBitmap.gte(min, rangeBitmap.lte(max)).toMutableRoaringBitmap();
}
return rangeBitmap.lte(max).toMutableRoaringBitmap();
} else {
Expand Down

0 comments on commit f35159b

Please sign in to comment.