Open jmarton opened 6 years ago
Similarly to #331, WHERE clause might also refer to variables that are not retained by the projection.
WHERE
E.g. the following should compile and resolve:
MATCH (p:Person)--(h:House) WITH p WHERE h.year > 2000 RETURN p
Currently, it leads to an exception:
ingraph.compiler.exceptions.NameResolutionException: Unresolvable name h.
Similarly to #331,
WHERE
clause might also refer to variables that are not retained by the projection.E.g. the following should compile and resolve:
Currently, it leads to an exception: