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

UNION ALL does not work when the same graph appears multiple times in the union #402

Open
pstutz opened this issue Apr 26, 2018 · 1 comment
Labels

Comments

@pstutz
Copy link
Contributor

pstutz commented Apr 26, 2018

We use the QGN or the graph itself as they key to store retaggings, so we cannot have different retaggings for the same graph which would be required when doing a UNION ALL of a graph with itself.

@pstutz
Copy link
Contributor Author

pstutz commented Apr 26, 2018

How to reproduce:

val g = session.cypher("CONSTRUCT NEW () RETURN GRAPH").getGraph
val union = g.unionAll(g)
union.nodes("n").size shouldBe 2
Expected :2
Actual   :1

@pstutz pstutz added the Bug label Apr 26, 2018
soerenreichardt added a commit to soerenreichardt/cypher-for-apache-spark that referenced this issue Oct 30, 2018
Co-authored-by: Tobias Johansson <[email protected]>
soerenreichardt added a commit to soerenreichardt/cypher-for-apache-spark that referenced this issue Oct 30, 2018
Co-authored-by: Tobias Johansson <[email protected]>
Mats-SX added a commit that referenced this issue Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant