[ 
https://issues.apache.org/jira/browse/TINKERPOP-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16318728#comment-16318728
 ] 

Daniel Kuppitz commented on TINKERPOP-1867:
-------------------------------------------

Hmm, at some point we allowed reducing barriers in {{repeat()}}, but seems it's 
disallowed again in both main branches. However, allowing it produced the same 
problem - empty traversers. The interesting thing about the test you've 
mentioned is that it breaks if you remove just one of union's child traversals.

> union() can produce extra traversers 
> -------------------------------------
>
>                 Key: TINKERPOP-1867
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1867
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.2.7
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>
> Hard to say where this bug is coming from but basically the most simple 
> representation is:
> {code}
> gremlin> g.V(1,2).local(__.union(__.constant(1).count()))
> ==>1
> ==>0
> ==>1
> {code}
> Similar problems occur with {{sum()}} and other reducing barriers when used 
> in this context.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to