eldenmoon commented on code in PR #30603:
URL: https://github.com/apache/doris/pull/30603#discussion_r1479238172


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java:
##########
@@ -1658,27 +1658,30 @@ && 
findOlapScanNodesByPassExchangeAndJoinNode(inputFragment.getPlanRoot())) {
     }
 
     // Get top most PushDownToProjectionFunction from expression
-    private Expression getOriginalFunctionForRewritten(NamedExpression 
expression) {
-        List<Expression> targetExpr = 
expression.collectFirst(PushDownToProjectionFunction.class::isInstance);
-        if (!targetExpr.isEmpty()) {
-            return targetExpr.get(0);
-        }
-        return null;
+    private List<Expression> 
getPushDownToProjectionFunctionForRewritten(NamedExpression expression) {

Review Comment:
   explained



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

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


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

Reply via email to