clintropolis commented on code in PR #12830:
URL: https://github.com/apache/druid/pull/12830#discussion_r932739268


##########
processing/src/main/java/org/apache/druid/segment/filter/BoundFilter.java:
##########
@@ -75,71 +76,107 @@ public BitmapColumnIndex 
getBitmapColumnIndex(ColumnIndexSelector selector)
     if (!Filters.checkFilterTuningUseIndex(boundDimFilter.getDimension(), 
selector, filterTuning)) {
       return null;
     }
-    if (supportShortCircuit()) {
+    if (supportStringShortCircuit()) {
       final ColumnIndexSupplier indexSupplier = 
selector.getIndexSupplier(boundDimFilter.getDimension());
       if (indexSupplier == null) {
         return Filters.makeNullIndex(doesMatchNull(), selector);
       }
       final LexicographicalRangeIndex rangeIndex = 
indexSupplier.as(LexicographicalRangeIndex.class);
-      if (rangeIndex == null) {

Review Comment:
   it was a bug with single type numeric nested literal columns and potentially 
future columns that only have some of these index types, but not `STRING` typed 
columns which have both lexicographical range indexes and predicate indexes.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to