typeql
typeql copied to clipboard
Executing match-delete with anonymous variable does not work
Description
Deleting in a match with anonymous variable does not work AND does not throw an error
Environment
- OS (where Grakn server runs): macOS Catalina
- Grakn version (and platform): 1.6.0
- Grakn client:
client-java
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Define
team
entity with attributename
- Insert one instance of
team
with nameabc
- Try running (does not delete)
tx.execute(match(var().isa("team").has("name", "abc")).delete());
- Try running (does delete):
tx.execute(match(var("x").isa("team").has("name", "abc")).delete("x"));
Expected Output
Concepts deleted OR error thrown
Actual Output
Concepts silently not getting deleted