-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple MATCH works is incorrect #278
Comments
Hello @mad, thank you for reporting this.
|
Hello @dwitry I think multiple match should be prevent for avoid bugs until new translation method introduced |
Hello @mad, Agree, it makes sense to throw an exception on multiple MATCH clauses instead of returning an incorrect result. However, there are a lot of cases where multiple MATCH queries work as expected, for example: MATCH (m:person {name: "marko"})
MATCH (m:person {age: 29})
MATCH (m:person)-[r1:created]->(lop:software {name: "lop"})
RETURN m I will take a look if it is possible to distinguish queries that will provide an incorrect result. |
Fixes opencypher#278 Signed-off-by: Dwitry dwitry@users.noreply.github.com
Fixes #278 Signed-off-by: Dwitry dwitry@users.noreply.github.com
Hello @mad, actually, I was wrong about multiple MATCH. Multiple MATCH feature is working correctly. The actual cause of this bug was incorrect handling of undirected paths. Fix pushed to master and tinkerpop334. |
Example of graph
And cypher query
Expected result is:
But actual is:
The text was updated successfully, but these errors were encountered: