kuzu
kuzu copied to clipboard
Error: Parser exception: Invalid input <CREATE REL TABLE IS>: expected rule kU_DDL
kuzu> CREATE NODE TABLE V (id STRING, PRIMARY KEY(id));
kuzu> CREATE REL TABLE IS (FROM V TO V);
Error: Parser exception: Invalid input <CREATE REL TABLE IS>: expected rule kU_DDL (line: 1, offset: 17)
"CREATE REL TABLE IS (FROM V TO V)"
^^
:IS
probably is a frequently chosen relation ship name.
Suggestion:
- allow
IS
relationship name - Alternatively, improve develoep experience by providing more suitable error message, that
IS
is a reserved keyword and cannot be used as relationship name.