924060929 commented on code in PR #57531:
URL: https://github.com/apache/doris/pull/57531#discussion_r2715774918
##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -1617,6 +1617,7 @@ primaryExpression
| CASE value=expression whenClause+ (ELSE elseExpression=expression)? END
#simpleCase
| name=CAST LEFT_PAREN expression AS castDataType RIGHT_PAREN
#cast
| name=TRY_CAST LEFT_PAREN expression AS castDataType RIGHT_PAREN
#tryCast
+ | DEFAULT LEFT_PAREN expression RIGHT_PAREN
#defaultValue
Review Comment:
should be `DEFAULT LEFT_PAREN qualifiedName RIGHT_PAREN` because you only
support get default value from a column
--
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]