Skip to content

Commit

Permalink
[FLINK-21849][sql-client] Add default module test case for 'SHOW [FUL…
Browse files Browse the repository at this point in the history
…L] MODULES' (#15261)
  • Loading branch information
LadyForest authored Mar 18, 2021
1 parent 1aec553 commit d89b380
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions flink-table/flink-sql-client/src/test/resources/sql/module.q
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,25 @@ SET sql-client.execution.result-mode = tableau;
# test load module
# ==========================================================================

# list default loaded and enabled module
SHOW MODULES;
+-------------+
| module name |
+-------------+
| core |
+-------------+
1 row in set
!ok

SHOW FULL MODULES;
+-------------+------+
| module name | used |
+-------------+------+
| core | true |
+-------------+------+
1 row in set
!ok

# load core module twice
LOAD MODULE core;
[ERROR] Could not execute SQL statement. Load module failed! Reason:
Expand Down

0 comments on commit d89b380

Please sign in to comment.