-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add SHOW GRAPHS/LABELS logic tests
- Loading branch information
1 parent
336109b
commit 8bb5207
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
statement ok | ||
CREATE GRAPH test | ||
|
||
query T | ||
SHOW GRAPHS | ||
---- | ||
test | ||
|
||
statement ok | ||
CREATE GRAPH student_network | ||
|
||
query T rowsort | ||
SHOW GRAPHS | ||
---- | ||
student_network | ||
test | ||
|
||
statement ok | ||
USE student_network | ||
|
||
statement ok | ||
CREATE LABEL Person | ||
|
||
statement ok | ||
CREATE LABEL University | ||
|
||
statement ok | ||
CREATE LABEL knows | ||
|
||
statement ok | ||
CREATE LABEL studentOf | ||
|
||
query T rowsort | ||
SHOW LABELS IN student_network | ||
---- | ||
Person | ||
University | ||
knows | ||
studentOf |