[ https://issues.apache.org/jira/browse/TINKERPOP-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stephen mallette closed TINKERPOP-1963. --------------------------------------- Resolution: Fixed > Use of reducing step in choose() > -------------------------------- > > Key: TINKERPOP-1963 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1963 > Project: TinkerPop > Issue Type: Bug > Components: process > Affects Versions: 3.2.9 > Reporter: stephen mallette > Assignee: stephen mallette > Priority: Major > Fix For: 3.4.0, 3.3.4, 3.2.10 > > > {code} > gremlin> g.inject(1).choose(is(1), constant(true), constant(false)) > ==>true > gremlin> g.inject(1).choose(is(1), fold(), constant(false)) > ==>[1] > {code} > But if I put some reducing step in the branch that's not supposed to be > emitted: > {code} > gremlin> g.inject(1).choose(is(1), constant(true), fold()) > ==>[] > ==>true > gremlin> g.inject(1).choose(is(1), constant(true), max()) > ==>NaN > ==>true > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)