From 71800236c825c9fc01a536d0cd7e8e55ad68eb42 Mon Sep 17 00:00:00 2001 From: LiBinfeng Date: Tue, 26 Nov 2024 10:13:47 +0800 Subject: [PATCH] fix anltr --- .../src/main/antlr4/org/apache/doris/nereids/DorisParser.g4 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 211776f1bce721..f300e7d07c53d8 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 @@ -60,7 +60,6 @@ statementBase | supportedShowStatement #supportedShowStatementAlias | supportedLoadStatement #supportedLoadStatementAlias | supportedRecoverStatement #supportedRecoverStatementAlias - | supportedLoadStatement #supportedLoadfStatementAlias | unsupportedStatement #unsupported ; @@ -238,6 +237,7 @@ supportedShowStatement supportedLoadStatement : SYNC #sync + | createRoutineLoad ; unsupportedOtherStatement @@ -352,10 +352,6 @@ unsupportedShowStatement | SHOW WARM UP JOB wildWhere? #showWarmUpJob ; -supportedLoadStatement - : createRoutineLoad - ; - createRoutineLoad : CREATE ROUTINE LOAD label=multipartIdentifier (ON table=identifier)? (WITH (APPEND | DELETE | MERGE))?