morrySnow commented on code in PR #56691:
URL: https://github.com/apache/doris/pull/56691#discussion_r2418631854
##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -1599,6 +1599,8 @@ primaryExpression
(ORDER BY sortItem (COMMA sortItem)*)?
(SEPARATOR sep=expression)? RIGHT_PAREN
(OVER windowSpec)?
#groupConcat
+ | GET_FORMAT LEFT_PAREN
+ getFormatCategory COMMA expression RIGHT_PAREN
#getFormatFunction
Review Comment:
don't add this, you should do same thing as date_add function, please look
at
`fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/DatetimeFunctionBinder.java`
--
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]