Incorrect cypher for _SOME
filters on relationships to unions
#4696
Labels
Projects
_SOME
filters on relationships to unions
#4696
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: