Skip to content

Commit

Permalink
Upgrade RoaringBitmap to 1.0.5 to pick up the fix for RangeBitmap.bet…
Browse files Browse the repository at this point in the history
…ween() (#12604)
  • Loading branch information
Jackie-Jiang authored Mar 8, 2024
1 parent 7fa8bec commit 6b123cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ private ImmutableRoaringBitmap queryRangeBitmap(long min, long max, long columnM
if (min == max) {
return rangeBitmap.eq(min).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.between(min, max).toMutableRoaringBitmap();
}
return rangeBitmap.lte(max).toMutableRoaringBitmap();
} else {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@
<dependency>
<groupId>org.roaringbitmap</groupId>
<artifactId>RoaringBitmap</artifactId>
<version>0.9.38</version>
<version>1.0.5</version>
</dependency>
<dependency>
<groupId>com.101tec</groupId>
Expand Down

0 comments on commit 6b123cb

Please sign in to comment.