-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
70 additions
and
88 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
This file was deleted.
Oops, something went wrong.
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
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,21 @@ | ||
-GROUP CatalogErrorTest | ||
-DATASET tinysnb | ||
|
||
-- | ||
|
||
-QUERY MATCH (a:person) RETURN dummy(n) | ||
---- error | ||
Catalog exception: DUMMY function does not exist. | ||
|
||
|
||
-CASE BindNonExistingFunction | ||
-QUERY MATCH (a:person) WHERE dummy() < 2 RETURN COUNT(*) | ||
---- error | ||
Catalog exception: DUMMY function does not exist. | ||
|
||
|
||
-CASE CreateRelTableInvalidRelMultiplicity | ||
-QUERY CREATE REL TABLE knows_post ( FROM person TO person, MANY_LOT) | ||
---- error | ||
Catalog exception: Invalid relMultiplicity string 'MANY_LOT'. | ||
|
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,27 @@ | ||
-GROUP SyntaxErrorTest | ||
-DATASET dummy | ||
|
||
-- | ||
|
||
-CASE MissingStructFieldType | ||
-QUERY create node table test1(ID INT64, description STRUCT(name INT64, age INT35), PRIMARY KEY(ID)) | ||
---- error | ||
Cannot parse dataTypeID: INT35 | ||
|
||
|
||
-CASE MissingStructFields | ||
-QUERY create node table test1(ID INT64, description STRUCT, PRIMARY KEY(ID)) | ||
---- error | ||
Cannot parse struct type: STRUCT | ||
|
||
|
||
-CASE CreateNodeTableInvalidDataType | ||
-QUERY CREATE NODE TABLE PERSON(NAME BIGINT, PRIMARY KEY(NAME)) | ||
---- error | ||
Cannot parse dataTypeID: BIGINT | ||
|
||
|
||
-CASE CreateRelTableInvalidDataType | ||
-QUERY CREATE REL TABLE knows_post ( FROM person TO person, ID SMALLINT, MANY_MANY) | ||
---- error | ||
Cannot parse dataTypeID: SMALLINT |
File renamed without changes.