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


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java:
##########
@@ -766,7 +766,14 @@ protected void toThrift(TExprNode msg) {
             }
             msg.setAggExpr(aggFnParams.createTAggregateExpr(isMergeAggFn));
         } else {
-            msg.node_type = TExprNodeType.FUNCTION_CALL;
+            // array_filter(array, boolean) only implement as lambda function
+            // eg: SELECT array_filter(`array_d`, array_map(x -> (x >= 1), 
`array_d`))
+            // can't as a normal function for BE, need handle by lambda 
function call expr
+            if (fnName.getFunction().equalsIgnoreCase("array_filter")) {

Review Comment:
   better BE support function "array_filter" as function call



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