morrySnow commented on code in PR #53657:
URL: https://github.com/apache/doris/pull/53657#discussion_r2230616512
##########
fe/fe-core/src/test/java/org/apache/doris/nereids/parser/NereidsParserTest.java:
##########
@@ -929,4 +929,10 @@ public void testComment() {
Assertions.assertThrows(ParseException.class, () ->
parser.parseSingle(sql), sql);
}
}
+
+ public void testLambda() {
Review Comment:
test other place, such as group by key, order by key, join key, etc..
##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -1483,6 +1483,10 @@ namedExpressionSeq
;
expression
+ : booleanExpression
+ ;
+
+funcExpression
: booleanExpression
| lambdaExpression
Review Comment:
```suggestion
funcExpression
: expression
| lambdaExpression
```
--
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]