From 894aa4874333a730fcc2e921551ee0e8d3bb924e Mon Sep 17 00:00:00 2001 From: morrySnow <101034200+morrySnow@users.noreply.github.com> Date: Fri, 8 Sep 2023 20:47:07 +0800 Subject: [PATCH] [fix](Nereids) remove PARTITIONS from non-reserved list (#24110) according to PR #24053, it removed partitions from non-reserved list in legacy planner's parser. For consistency, remove it from Nereids' parser too. --- .../src/main/antlr4/org/apache/doris/nereids/DorisParser.g4 | 1 - 1 file changed, 1 deletion(-) 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 f64ed80bc0..2608573337 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 @@ -789,7 +789,6 @@ nonReserved | OPTIMIZED | PARAMETER | PARSED - | PARTITIONS | PASSWORD | PASSWORD_EXPIRE | PASSWORD_HISTORY