Jackie-Jiang commented on code in PR #11557:
URL: https://github.com/apache/pinot/pull/11557#discussion_r1321836605


##########
pinot-core/src/main/java/org/apache/pinot/core/operator/filter/predicate/PredicateUtils.java:
##########
@@ -145,23 +145,26 @@ public static IntSet getDictIdSet(BaseInPredicate 
inPredicate, Dictionary dictio
         }
         break;
       case STRING:
-        if (queryContext == null || values.size() <= 
Integer.parseInt(queryContext.getQueryOptions()
-            
.getOrDefault(CommonConstants.Broker.Request.QueryOptionKey.IN_PREDICATE_SORT_THRESHOLD,
-                
CommonConstants.Broker.Request.QueryOptionValue.DEFAULT_IN_PREDICATE_SORT_THRESHOLD)))
 {
+        if (queryContext == null || Boolean.parseBoolean(

Review Comment:
   Just want to give it an option to turn it off in case sorting is dominating 
the latency (very unlikely though, but who knows)



-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to