Skip to content

Commit

Permalink
optimize DorisParser.g4
Browse files Browse the repository at this point in the history
  • Loading branch information
yx-keith committed Mar 3, 2025
1 parent 48b5b5e commit 954964c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -247,26 +247,6 @@ supportedAlterStatement
QUOTA (quota=identifier | INTEGER_VALUE) #alterDatabaseSetQuota
| ALTER SYSTEM RENAME COMPUTE GROUP name=identifier newName=identifier #alterSystemRenameComputeGroup
| ALTER REPOSITORY name=identifier properties=propertyClause? #alterRepository
| ALTER SYSTEM ADD BACKEND hostPorts+=STRING_LITERAL (COMMA hostPorts+=STRING_LITERAL)*
properties=propertyClause? #addBackendClause
| ALTER SYSTEM (DROP | DROPP) BACKEND hostPorts+=STRING_LITERAL
(COMMA hostPorts+=STRING_LITERAL)* #dropBackendClause
| ALTER SYSTEM DECOMMISSION BACKEND hostPorts+=STRING_LITERAL
(COMMA hostPorts+=STRING_LITERAL)* #decommissionBackendClause
| ALTER SYSTEM ADD OBSERVER hostPort=STRING_LITERAL #addObserverClause
| ALTER SYSTEM DROP OBSERVER hostPort=STRING_LITERAL #dropObserverClause
| ALTER SYSTEM ADD FOLLOWER hostPort=STRING_LITERAL #addFollowerClause
| ALTER SYSTEM DROP FOLLOWER hostPort=STRING_LITERAL #dropFollowerClause
| ALTER SYSTEM DROP ALL BROKER name=identifierOrText #dropAllBrokerClause
| ALTER SYSTEM ADD BROKER name=identifierOrText hostPorts+=STRING_LITERAL
(COMMA hostPorts+=STRING_LITERAL)* #addBrokerClause
| ALTER SYSTEM DROP BROKER name=identifierOrText hostPorts+=STRING_LITERAL
(COMMA hostPorts+=STRING_LITERAL)* #dropBrokerClause
| ALTER SYSTEM MODIFY BACKEND hostPorts+=STRING_LITERAL
(COMMA hostPorts+=STRING_LITERAL)*
SET LEFT_PAREN propertyItemList RIGHT_PAREN #modifyBackendClause
| ALTER SYSTEM MODIFY (FRONTEND | BACKEND) hostPort=STRING_LITERAL
HOSTNAME hostName=STRING_LITERAL #modifyFrontendOrBackendHostNameClause
| ALTER USER (IF EXISTS)? grantUserIdentify
passwordOption (COMMENT STRING_LITERAL)? #alterUser
;
Expand Down

0 comments on commit 954964c

Please sign in to comment.