[ https://issues.apache.org/jira/browse/TINKERPOP-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16117183#comment-16117183 ]
Daniel Kuppitz commented on TINKERPOP-1711: ------------------------------------------- In TINKERPOP-780 you stated that "This has been fixed by saying, you can't have a reducing barrier step be in a traversal whose parent is repeat.". Not sure how you did this though, seems like a development branch for TINKERPOP-780 never existed. Anyway, perhaps this should be extended to more steps. "...whose parent is repeat, union, ...." > map(union(fold())) bug > ---------------------- > > Key: TINKERPOP-1711 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1711 > Project: TinkerPop > Issue Type: Bug > Components: process > Affects Versions: 3.2.5 > Reporter: Robert Dale > Assignee: Daniel Kuppitz > Fix For: 3.2.6 > > > Actual: > {code:java} > gremlin> graph = TinkerFactory.createModern() > ==>tinkergraph[vertices:6 edges:6] > gremlin> g = graph.traversal() > ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] > gremlin> g.V().valueMap() > ==>[name:[marko],age:[29]] > ==>[name:[vadas],age:[27]] > ==>[name:[lop],lang:[java]] > ==>[name:[josh],age:[32]] > ==>[name:[ripple],lang:[java]] > ==>[name:[peter],age:[35]] > gremlin> g.V().map(union(values('name'), values('lang').fold()).fold()) > ==>[marko,[]] > ==>[[],vadas] > ==>[lop,[java]] > ==>[[],josh] > ==>[ripple,[java]] > ==>[[],peter] > {code} > Expected: > {code:java} > gremlin> g.V().map(union(values('name'), values('lang').fold()).fold()) > ==>[marko,[]] > ==>[vadas,[]] > ==>[lop,[java]] > ==>[josh,[]] > ==>[ripple,[java]] > ==>[peter,[]] > {code} > List reference: > https://groups.google.com/forum/#!topic/gremlin-users/L_fESS6ta0A -- This message was sent by Atlassian JIRA (v6.4.14#64029)