Skip to content

Commit

Permalink
use gte(let) to replace between() which has a bug (#12595)
Browse files Browse the repository at this point in the history
  • Loading branch information
klsince authored Mar 7, 2024
1 parent f06d5a8 commit 4e4f966
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 4e4f966

Please sign in to comment.