Skip to content

Commit

Permalink
Fix bitmap index test for doris 2.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
w41ter committed Jun 17, 2024
1 parent c7b17f2 commit c4c26cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions regression-test/suites/table-sync/test_bitmap_index.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ suite("test_bitmap_index") {
assertTrue(checkRestoreFinishTimesOf("${tableName}", 30))
def checkBitmap = { inputRes -> Boolean
for (List<Object> row : inputRes) {
if (row[2] == "idx_test" && row[10] == "BITMAP") {
// ATTN: The implementation of BITMAP index has already changed to INVERTED index in doris 2.0.11.
if (row[2] == "idx_test" && (row[10] == "BITMAP" || row[10] == "INVERTED")) {
return true
}
}
Expand All @@ -140,7 +141,8 @@ suite("test_bitmap_index") {
sql """CREATE INDEX idx_id ON ${tableName} (`id`) USING BITMAP"""
def checkBitmap2 = { inputRes -> Boolean
for (List<Object> row : inputRes) {
if (row[2] == "idx_id" && row[10] == "BITMAP") {
// ATTN: The implementation of BITMAP index has already changed to INVERTED index in doris 2.0.11.
if (row[2] == "idx_id" && (row[10] == "BITMAP" || row[10] == "INVERTED")) {
return true
}
}
Expand Down

0 comments on commit c4c26cf

Please sign in to comment.