You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "shenyu0127 (via GitHub)" <gi...@apache.org> on 2023/08/04 04:41:45 UTC

[GitHub] [pinot] shenyu0127 commented on a diff in pull request #11261: Exclude NULLs when PredicateEvaluator::isAlwaysTrue is true.

shenyu0127 commented on code in PR #11261:
URL: https://github.com/apache/pinot/pull/11261#discussion_r1283973015


##########
pinot-core/src/main/java/org/apache/pinot/core/operator/filter/FilterOperatorUtils.java:
##########
@@ -73,7 +78,7 @@ public BaseFilterOperator getLeafFilterOperator(QueryContext queryContext, Predi
       if (predicateEvaluator.isAlwaysFalse()) {
         return EmptyFilterOperator.getInstance();
       } else if (predicateEvaluator.isAlwaysTrue()) {
-        return new MatchAllFilterOperator(numDocs);
+        return new MatchAllFilterOperator(queryContext, dataSource, numDocs);

Review Comment:
   Your suggestion is a cleaner solution.
   
   Done.



-- 
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-unsubscribe@pinot.apache.org

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


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