File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
jdbc-v2/src/main/antlr4/com/clickhouse/jdbc/internal/parser Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 2222 | createStmt // DDL
2323 | describeStmt
2424 | dropStmt // DDL
25+ | undropStmt // DDL
2526 | existsStmt
2627 | explainStmt
2728 | killStmt // DDL
4142 | grantStmt
4243 | revokeStmt
4344 | exchangeStmt
45+ | moveStmt
4446 ;
4547
4648// CTE statement
@@ -360,6 +362,11 @@ ttlExpr
360362 : columnExpr (DELETE | TO DISK STRING_LITERAL | TO VOLUME STRING_LITERAL )?
361363 ;
362364
365+ // MOVE statement
366+ moveStmt
367+ : MOVE (USER | ROLE | QUOTA | SETTINGS PROFILE | ROW POLICY ) identifier TO identifier
368+ ;
369+
363370// DESCRIBE statement
364371
365372describeStmt
@@ -377,6 +384,10 @@ dropStmt
377384 | (DETACH | DROP ) (FUNCTION | NAMED COLLECTION ) (IF EXISTS )? identifier clusterClause?
378385 ;
379386
387+ undropStmt
388+ : UNDROP TABLE tableIdentifier uuidClause? clusterClause?
389+ ;
390+
380391// EXISTS statement
381392
382393existsStmt
You can’t perform that action at this time.
0 commit comments