Skip to content

Cypher: collect and sum of same expression fails #650

freeeve opened this Issue Mar 23, 2013 · 2 comments

3 participants

freeeve commented Mar 23, 2013
start n=node(*) 
match n-[:parent_of*]->child 
where not(child-[:parent_of]->()) 
return n, sum(child.val), collect(child.val);

Error: Unknown identifier `child`.

freeeve commented Mar 23, 2013

I realize this can be worked around relatively easily, but it feels like it should probably work, since other aggregations can work together.

@systay systay added a commit to systay/neo4j that referenced this issue Mar 26, 2013
@systay systay Fixes #650 - issue when doing multiple aggregation expressions on the…
… same identifier
@systay systay closed this in 8348fae Mar 27, 2013
freeeve commented Mar 29, 2013

Thanks guys. :)

@jakewins jakewins reopened this Oct 1, 2013
@jakewins jakewins closed this Oct 1, 2013
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.