Skip to content
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

Cypher: collect and sum of same expression fails #650

Closed
freeeve opened this issue Mar 23, 2013 · 2 comments
Closed

Cypher: collect and sum of same expression fails #650

freeeve opened this issue Mar 23, 2013 · 2 comments

Comments

@freeeve
Copy link
Contributor

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`.

http://console.neo4j.org/?id=l6lz2e

@freeeve
Copy link
Contributor Author

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 closed this as completed in 8348fae Mar 27, 2013
jakewins added a commit that referenced this issue Mar 27, 2013
Fixes #650 - issue when doing multiple aggregation expressions on the same identifier
@freeeve
Copy link
Contributor Author

freeeve commented Mar 29, 2013

Thanks guys. :)

@jakewins jakewins reopened this Oct 1, 2013
@jakewins jakewins closed this as completed Oct 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants