HappenLee commented on code in PR #48994:
URL: https://github.com/apache/doris/pull/48994#discussion_r1997647213


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/ExpressionTranslator.java:
##########
@@ -550,6 +551,52 @@ public Expr visitArrayMap(ArrayMap arrayMap, 
PlanTranslatorContext context) {
         return functionCallExpr;
     }
 
+    @Override
+    public Expr visitArrayReduce(ArrayReduce arrayReduce, 
PlanTranslatorContext context) {
+        Lambda lambda = (Lambda) arrayReduce.child(0);
+        List<Expr> arguments = new ArrayList<>(arrayReduce.children().size());

Review Comment:
   same to up should reuse the code



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