raghavyadav01 commented on code in PR #16276:
URL: https://github.com/apache/pinot/pull/16276#discussion_r2217002783


##########
pinot-core/src/main/java/org/apache/pinot/core/operator/filter/FilterOperatorUtils.java:
##########
@@ -106,13 +107,27 @@ public BaseFilterOperator 
getLeafFilterOperator(QueryContext queryContext, Predi
         }
         return new ScanBasedFilterOperator(queryContext, predicateEvaluator, 
dataSource, numDocs);
       } else if (predicateType == Predicate.Type.REGEXP_LIKE) {
-        if (dataSource.getFSTIndex() != null && 
dataSource.getDataSourceMetadata().isSorted()
-            && queryContext.isIndexUseAllowed(dataSource, 
FieldConfig.IndexType.SORTED)) {
-          return new SortedIndexBasedFilterOperator(queryContext, 
predicateEvaluator, dataSource, numDocs);
-        }
-        if (dataSource.getFSTIndex() != null && dataSource.getInvertedIndex() 
!= null
-            && queryContext.isIndexUseAllowed(dataSource, 
FieldConfig.IndexType.INVERTED)) {
-          return new InvertedIndexFilterOperator(queryContext, 
predicateEvaluator, dataSource, numDocs);
+        // Check if case-insensitive flag is present

Review Comment:
   Adding a test case to validate this. 



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