ftsrg / ingraph

Incremental view maintenance for openCypher graph queries.
http://docs.inf.mit.bme.hu/ingraph/
Eclipse Public License 1.0
47 stars 10 forks source link

Attributes in WITH...WHERE #336

Open jmarton opened 6 years ago

jmarton commented 6 years ago

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:

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.