leventov commented on a change in pull request #8209: add mechanism to control 
filter optimization in historical query processing
URL: https://github.com/apache/incubator-druid/pull/8209#discussion_r311689282
 
 

 ##########
 File path: 
processing/src/main/java/org/apache/druid/segment/filter/OrFilter.java
 ##########
 @@ -99,6 +99,17 @@ public boolean canVectorizeMatcher()
     return filters.stream().allMatch(Filter::canVectorizeMatcher);
   }
 
+  @Override
+  public boolean shouldUseIndex(BitmapIndexSelector bitmapIndexSelector)
 
 Review comment:
   Looks like this impl of `shouldUseIndex()` and `supportsBitmapIndex()` could 
be moved up to `BooleanFilter` and `AndFilter` could also use them.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to