Skip to content

Commit

Permalink
sql grammar support for show flint index statement
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Kao <[email protected]>
  • Loading branch information
seankao-az committed Mar 1, 2024
1 parent faa0d07 commit 3bb1d0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ statement
: skippingIndexStatement
| coveringIndexStatement
| materializedViewStatement
| indexManagementStatement
| indexJobManagementStatement
;

Expand Down Expand Up @@ -125,6 +126,14 @@ vacuumMaterializedViewStatement
: VACUUM MATERIALIZED VIEW mvName=multipartIdentifier
;

indexManagementStatement
: showFlintIndexStatement
;

showFlintIndexStatement
: SHOW FLINT (INDEX | INDEXES)
;

indexJobManagementStatement
: recoverIndexJobStatement
;
Expand Down
1 change: 1 addition & 0 deletions flint-spark-integration/src/main/antlr4/SparkSqlBase.g4
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ DESCRIBE: 'DESCRIBE';
DROP: 'DROP';
EXISTS: 'EXISTS';
FALSE: 'FALSE';
FLINT: 'FLINT';
IF: 'IF';
IN: 'IN';
INDEX: 'INDEX';
Expand Down

0 comments on commit 3bb1d0d

Please sign in to comment.