Ted Wilmes created TINKERPOP-1973:
-------------------------------------

             Summary: 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.2.9, 3.3.3
            Reporter: Ted Wilmes
            Assignee: Ted Wilmes


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>

```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to