This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 0ce43258fedc05c77a4594598773d20b96816253 Author: morrySnow <[email protected]> AuthorDate: Fri Sep 27 20:12:44 2024 +0800 [fix](Nereids) where of copy into should be optional (#41418) --- fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisLexer.g4 | 2 +- fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisLexer.g4 b/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisLexer.g4 index 03997bfee23..34c3ee66e75 100644 --- a/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisLexer.g4 +++ b/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisLexer.g4 @@ -162,7 +162,7 @@ CONSISTENT: 'CONSISTENT'; CONSTRAINT: 'CONSTRAINT'; CONSTRAINTS: 'CONSTRAINTS'; CONVERT: 'CONVERT'; -CONVERT_LSC: 'CONVERT_LSC'; +CONVERT_LSC: 'CONVERT_LIGHT_SCHEMA_CHANGE_PROCESS'; COPY: 'COPY'; COUNT: 'COUNT'; CREATE: 'CREATE'; diff --git a/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4 b/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4 index c8b2415df62..bccac520eb2 100644 --- a/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4 +++ b/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4 @@ -850,7 +850,7 @@ unsupportedDmlStatement : TRUNCATE TABLE multipartIdentifier specifiedPartition? #truncateTable | COPY INTO name=multipartIdentifier columns=identifierList? FROM (stageAndPattern | (LEFT_PAREN SELECT selectColumnClause - FROM stageAndPattern whereClause RIGHT_PAREN)) + FROM stageAndPattern whereClause? RIGHT_PAREN)) properties=propertyClause? #copyInto ; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
