[
https://issues.apache.org/jira/browse/TINKERPOP-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yang Xia updated TINKERPOP-3101:
--------------------------------
Component/s: process
> `union()` with a mutation step as the first option is changing the output
> -------------------------------------------------------------------------
>
> Key: TINKERPOP-3101
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3101
> Project: TinkerPop
> Issue Type: Bug
> Components: process
> Affects Versions: 3.7.1
> Reporter: Dave Bechberger
> Priority: Major
>
> When you use a `drop()` step as the first subtraversal it is impacting the
> subsequent subtraversals. In the example below I would have expected this to
> return the `valueMap()` of the incoming solutions since this is a branch step.
>
> {code:java}
> \,,,/
> (o o)
> -----oOOo-(3)-oOOo-----
> plugin activated: tinkerpop.server
> plugin activated: tinkerpop.utilities
> plugin activated: tinkerpop.tinkergraph
> gremlin> g = TinkerFactory.createModern().traversal()
> ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
> gremlin> g.V().union(drop(), valueMap())
> ==>[]
> ==>[]
> ==>[]
> ==>[]
> ==>[]
> ==>[] {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)