Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.3.0, 3.2.5
-
None
-
None
Description
I don't know what it's related to, hence the open title on this ticket.
Base Query (all good):
gremlin> g.V().as("v").emit().repeat(both().as("v").dedup()).select("v") ==>v[1] ==>v[2] ==>v[3] ==>v[4] ==>v[5] ==>v[6] ==>[v[1],v[4]] ==>[v[4],v[5]] ==>[v[3],v[6]] ==>[v[2],v[1]] ==>[v[1],v[2]] ==>[v[1],v[3]]
As of 3.3.9-SNAPSHOT the above looks like this now:
gremlin> g.V().as("v").emit().repeat(both().as("v").dedup()).select("v") ==>v[1] ==>v[3] ==>v[2] ==>v[4] ==>v[1] ==>v[6] ==>v[5] ==>v[2] ==>v[3] ==>v[4] ==>v[5] ==>v[6]
Issues:
gremlin> g.V().as("v").emit().repeat(both().as("v").dedup()).select("v").count() ==>6 ==>6
gremlin> g.V().as("v").emit().repeat(both().as("v").dedup()).select("v").order().by(count(local)) ==>v[1] ==>v[1] ==>v[2] ==>v[2] ==>v[3] ==>v[3] ==>v[4] ==>v[4] ==>v[5] ==>v[5] ==>v[6] ==>v[6] ==>[v[1],v[4]] ==>[v[4],v[5]] ==>[v[3],v[6]] ==>[v[2],v[1]] ==>[v[1],v[2]] ==>[v[1],v[3]]
I'm going to create a dev branch and test cases tomorrow.