morrySnow commented on code in PR #23121:
URL: https://github.com/apache/doris/pull/23121#discussion_r1302837676
##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -45,6 +45,8 @@ statement
(WITH LABEL labelName=identifier)? cols=identifierList? // label and
columns define
(LEFT_BRACKET hints=identifierSeq RIGHT_BRACKET)? // hint define
query
#insertIntoQuery
+ | explain? INSERT INTO tableName=multipartIdentifier VALUES
+ lists+=constantList (COMMA lists+=constantList)*
#insertIntoValues
Review Comment:
u should implement values as querystmt.
refer to
https://github.com/apache/spark/blob/0d1b5975b2d308c616312d53b9f7ad754348a266/sql/api/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseParser.g4#L793
--
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]