ldbc / gcore-spark

Implementation of the G-CORE graph query language on Spark
Apache License 2.0
15 stars 5 forks source link

WHERE for MATCH #25

Closed ramhgarcias closed 5 years ago

ramhgarcias commented 5 years ago

The current grammar does not allow a WHERE clause for the entire MATCH clause, when OPTIONAL patterns are included.

ramhgarcias commented 5 years ago

Concall 20190110 AGREEMENT: The OPTIONAL pattern will be demarcated in parentheses ex: CONSTRUCT ... MATCH (x)-[:name]->(y) OPTIONAL ( (x)-[:knows]->(z) WHERE z.edad > 18 ) OPTIONAL ( (z)-[:lives]->(w) WHERE w.name = ‘Santiago’ )
WHERE isNull(w)

ramhgarcias commented 5 years ago

fixed by 4f6ab6a199fddd6ce8d5590b39314b891aa5be31