Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Query returning non-existing paths #336

Closed
b-m opened this Issue · 0 comments

2 participants

@b-m
b-m commented

Here's is the web console setup: http://console.neo4j.org/?id=1t0d7x

The following query is supposed to return all paths from the given person to their friend such that friend lives in as well as attends an event hosted by city. For the given setup, there is only one such path from any person [node(2, 3, 4)] for friend [adam=node(1)] through city [london=node(5)] and event [exhibition=node(9)].

The query below returns non-existing paths for each person=node(2, 3, 4). However, when person=node(*) the three existing matching paths are returned.

start person=node(2) 
match person-[:FRIEND]-friend-[:LIVES]->city-[:HOSTS]->event<-[:ATTENDS]-friend 
return person, friend, city, event, friend;
@systay systay closed this in d6e7cf2
@systay systay referenced this issue from a commit in systay/neo4j
@systay systay This is a backport of five bug fixes:
o Fixes #304
  Bug that stops renaming of identifiers that are used as key expressions
  when aggregating

o Fix for problems when using patterns with multiple unnamed nodes

o Fixes problems when doing ORDER BY ... LIMIT x

o Fixed problem with dependencies inside foreach statements being reported wrongly

o Fixes #336 - Patterns that re-use a pattern node can produce non-existing matches
3f6cda9
@peterneubauer peterneubauer referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@systay systay referenced this issue from a commit in systay/neo4j
@wfreeman wfreeman Fixes #336 - Patterns that re-use a pattern node can produce non-exis…
…ting matches
fa03029
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.