You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Yang Xia (Jira)" <ji...@apache.org> on 2024/08/30 16:15:00 UTC
[jira] [Updated] (TINKERPOP-3101) `union()` with a mutation step as the first option is changing the output
[ 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)