morpheus icon indicating copy to clipboard operation
morpheus copied to clipboard

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

Open pstutz opened this issue 7 years ago • 1 comments

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 avatar Apr 26 '18 14:04 pstutz

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 avatar Apr 26 '18 14:04 pstutz