-
Notifications
You must be signed in to change notification settings - Fork 148
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
Incorrect cypher for _SOME
filters on relationships to unions
#4696
Comments
Many thanks for raising this bug report @Liam-Doodson. 🐛 We will now attempt to reproduce the bug based on the steps you have provided. Please ensure that you've provided the necessary information for a minimal reproduction, including but not limited to:
If you have a support agreement with Neo4j, please link this GitHub issue to a new or existing Zendesk ticket. Thanks again! 🙏 |
We've been able to confirm this bug using the steps to reproduce that you provided - many thanks @Liam-Doodson! 🙏 We will now prioritise the bug and address it appropriately. |
Type definitions
Test data
Steps to reproduce
Run this query:
What happened
The actor with
name="Some Name"
is returned.Expected behaviour
The query suggests that "some" productions the actor has acted in should be both a
Series
and aMovie
. This is not the case for this actor so it should not have been returned.The following cypher is generated for this query:
As you can see, the
AND
is applied outside theEXISTS
.However, I would have expected cypher along these lines (note this is sudo code - I think the
labels
syntax is probably wrong):Version
4.4.5
Database version
5.13
Relevant log output
No response
The text was updated successfully, but these errors were encountered: