Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
3.5.5
-
None
-
None
Description
I create three vertices and two edges.
Vertex v1 = g.addV("vl0").property("vp0", 1).next(); // v[1] Vertex v2 = g.addV("vl0").property("vp0", 2).next(); // v[2] Vertex v3 = g.addV("vl0").property("vp0", 3).next(); // v[3] Edge e1 = g.addE("el0").from(v1).to(v2).next(); Edge e2 = g.addE("el0").from(v1).to(v3).next();
When I execute the query 'g.E().outV()' without using bulk optimization, I expect the result {v1,v1} is returned. However, it removes the duplicate vertices.
gremlin> :> g.withBulk(false).E().outV()
==>v[1]
gremlin> :> g.E().outV()
==>v[1]
==>v[1]
Since I do not use bulk operations in this query, I expect that even if we turn off bulk opitmization, we can compute the correct result.