[ https://issues.apache.org/jira/browse/TINKERPOP-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Mallette closed TINKERPOP-3102. --------------------------------------- Fix Version/s: 4.0.0 3.7.3 Assignee: Stephen Mallette Resolution: Fixed fixed on https://github.com/apache/tinkerpop/commit/4869c95b13cbf64b9790a9ae3a1d07bb74d6ad8e > Cardinality input with mergeE step shouldn't be allowed. > -------------------------------------------------------- > > Key: TINKERPOP-3102 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3102 > Project: TinkerPop > Issue Type: Improvement > Components: process > Affects Versions: 3.7.2 > Reporter: Prashant > Assignee: Stephen Mallette > Priority: Critical > Fix For: 4.0.0, 3.7.3 > > > {code:java} > gremlin> g.mergeE([(T.id):'11']).option(onMatch, ["weight":0.4], set) > ==>e[11][4-created->3] > gremlin> g.E().valueMap(true) > ==>[id:11,label:created,weight:[set, 0.4]] > ==>[id:12,label:created,weight:0.2] > ==>[id:7,label:knows,weight:0.5] > ==>[id:8,label:knows,weight:1.0] > ==>[id:9,label:created,weight:0.4] > ==>[id:10,label:created,weight:1.0] > gremlin> g.mergeE([(T.id):'11']).option(onMatch, ["weight":0.75], set) > ==>e[11][4-created->3] > gremlin> g.E().valueMap(true) > ==>[id:11,label:created,weight:[set, 0.75]] > ==>[id:12,label:created,weight:0.2] > ==>[id:7,label:knows,weight:0.5] > ==>[id:8,label:knows,weight:1.0] > ==>[id:9,label:created,weight:0.4] > ==>[id:10,label:created,weight:1.0] {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)