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

[GitHub] [pinot] walterddr commented on a diff in pull request #10685: [multistage] Decorrelate plan before optimizer

walterddr commented on code in PR #10685:
URL: https://github.com/apache/pinot/pull/10685#discussion_r1176845359


##########
pinot-common/src/main/java/org/apache/pinot/common/request/context/RequestContextUtils.java:
##########
@@ -119,7 +119,11 @@ public static FilterContext getFilter(Expression thriftExpression) {
         return new FilterContext(FilterContext.Type.PREDICATE, null,
             new EqPredicate(getExpression(thriftExpression), getStringValue(RequestUtils.getLiteralExpression(true))));
       case LITERAL:
-        // TODO: Handle literals.
+        // Skip "WHERE true"

Review Comment:
   it should be eliminated by filter optimization. instead of keeping the where true



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