zhangstar333 commented on code in PR #23598:
URL: https://github.com/apache/doris/pull/23598#discussion_r1322327184
##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -331,6 +331,15 @@ namedExpressionSeq
expression
: booleanExpression
+ | lambdaExpression
+ ;
+
+lambdaExpression
+ : args+=errorCapturingIdentifier ARROW body=booleanExpression
Review Comment:
why not must be bool, seems could: x->abs(x)
##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -331,6 +331,15 @@ namedExpressionSeq
expression
: booleanExpression
+ | lambdaExpression
+ ;
+
+lambdaExpression
+ : args+=errorCapturingIdentifier ARROW body=booleanExpression
Review Comment:
why must be bool, seems could: x->abs(x)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]