[jira] [Updated] (TINKERPOP-1973) Emit predicate ignored after final loop of a RepeatStep with times or until
[ https://issues.apache.org/jira/browse/TINKERPOP-1973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Wilmes updated TINKERPOP-1973: -- Description: When combined with a {{times}} or {{until}}, the {{emit}} predicate is not applied to the output of the last loop of the {{RepeatStep}}. {code} gremlin> g = TinkerFactory.createModern().traversal() ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] gremlin> g.V().repeat(out()).emit(has('name', 'lop')).values('name') ==>lop ==>lop ==>lop ==>lop gremlin> g.V().repeat(out()).times(2).emit(has('name', 'lop')).values('name') ==>lop ==>ripple ==>lop ==>lop ==>lop gremlin> {code} was: When combined with a `times` or `until`, the `emit` predicate is not applied to the output of the last loop of the `RepeatStep`. {code:groovy} gremlin> g = TinkerFactory.createModern().traversal() ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] gremlin> g.V().repeat(out()).emit(has('name', 'lop')).values('name') ==>lop ==>lop ==>lop ==>lop gremlin> g.V().repeat(out()).times(2).emit(has('name', 'lop')).values('name') ==>lop ==>ripple ==>lop ==>lop ==>lop gremlin> {code} > Emit predicate ignored after final loop of a RepeatStep with times or until > --- > > Key: TINKERPOP-1973 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1973 > Project: TinkerPop > Issue Type: Bug > Components: process >Affects Versions: 3.3.3, 3.2.9 >Reporter: Ted Wilmes >Assignee: Ted Wilmes >Priority: Major > > When combined with a {{times}} or {{until}}, the {{emit}} predicate is not > applied to the output of the last loop of the {{RepeatStep}}. > {code} > gremlin> g = TinkerFactory.createModern().traversal() > ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] > gremlin> g.V().repeat(out()).emit(has('name', 'lop')).values('name') > ==>lop > ==>lop > ==>lop > ==>lop > gremlin> g.V().repeat(out()).times(2).emit(has('name', 'lop')).values('name') > ==>lop > ==>ripple > ==>lop > ==>lop > ==>lop > gremlin> > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TINKERPOP-1973) Emit predicate ignored after final loop of a RepeatStep with times or until
[ https://issues.apache.org/jira/browse/TINKERPOP-1973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Wilmes updated TINKERPOP-1973: -- Description: When combined with a `times` or `until`, the `emit` predicate is not applied to the output of the last loop of the `RepeatStep`. {code:groovy} gremlin> g = TinkerFactory.createModern().traversal() ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] gremlin> g.V().repeat(out()).emit(has('name', 'lop')).values('name') ==>lop ==>lop ==>lop ==>lop gremlin> g.V().repeat(out()).times(2).emit(has('name', 'lop')).values('name') ==>lop ==>ripple ==>lop ==>lop ==>lop gremlin> {code} was: When combined with a `times` or `until`, the `emit` predicate is not applied to the output of the last loop of the `RepeatStep`. ``` gremlin> g = TinkerFactory.createModern().traversal() ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] gremlin> g.V().repeat(out()).emit(has('name', 'lop')).values('name') ==>lop ==>lop ==>lop ==>lop gremlin> g.V().repeat(out()).times(2).emit(has('name', 'lop')).values('name') ==>lop ==>ripple ==>lop ==>lop ==>lop gremlin> ``` > Emit predicate ignored after final loop of a RepeatStep with times or until > --- > > Key: TINKERPOP-1973 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1973 > Project: TinkerPop > Issue Type: Bug > Components: process >Affects Versions: 3.3.3, 3.2.9 >Reporter: Ted Wilmes >Assignee: Ted Wilmes >Priority: Major > > When combined with a `times` or `until`, the `emit` predicate is not applied > to the output of the last loop of the `RepeatStep`. > {code:groovy} > gremlin> g = TinkerFactory.createModern().traversal() > ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] > gremlin> g.V().repeat(out()).emit(has('name', 'lop')).values('name') > ==>lop > ==>lop > ==>lop > ==>lop > gremlin> g.V().repeat(out()).times(2).emit(has('name', 'lop')).values('name') > ==>lop > ==>ripple > ==>lop > ==>lop > ==>lop > gremlin> > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)