typeql
typeql copied to clipboard
Executing match-get with only anonymous variables should be disallowed
Description
match-get with only anonymous variables should be disallowed as executing such a query yields empty concept maps as a result.
Environment
- OS (where Grakn server runs): macOS Catalina
- Grakn version (and platform): 1.6.0
- Grakn client: client-java
- Other environment details:
Reproducible Steps
Execute match(var().isa(…)).get()
Expected Output
Syntax error
Actual Output
Query executed with empty ConceptMaps as a result