Skip to content

Commit

Permalink
[perf] Run Inverted Index Before Other Operators (#14764)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitsultana authored Jan 8, 2025
1 parent edc89a4 commit 0600185
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ int getPriority(BaseFilterOperator filterOperator) {
if (filterOperator instanceof SortedIndexBasedFilterOperator) {
return PrioritizedFilterOperator.HIGH_PRIORITY;
}
if (filterOperator instanceof BitmapBasedFilterOperator) {
if (filterOperator instanceof BitmapBasedFilterOperator
|| filterOperator instanceof InvertedIndexFilterOperator) {
return PrioritizedFilterOperator.MEDIUM_PRIORITY;
}
if (filterOperator instanceof RangeIndexBasedFilterOperator
Expand Down

0 comments on commit 0600185

Please sign in to comment.