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

stephen mallette edited comment on TINKERPOP-1867 at 1/9/18 1:36 PM:
---------------------------------------------------------------------

I don't get the full picture from TINKERPOP-1629. The issue is still open and I 
don't see any code tied to it - does that mean nothing changed (or did he CTR 
some changes in)? Also, do you understand what part of the reducing barrier 
causes the extra traverser to show up in the output (i'm still trying to 
understand that more fully)?

Also, this problem was found as a result of a standard TinkerPop test behaving 
differently for TinkerGraph than it did for another graph implementation - 
specifically this test:

https://github.com/apache/tinkerpop/blob/2f1a9d09c4d41ad35e9c6fabdeec3c0db1a37e34/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/branch/UnionTest.java#L193

Any clue on why it would behave differently for different graphs?


was (Author: spmallette):
I don't get the full picture from TINKERPOP-1629. The issue is still open and I 
don't see any code tied to it - does that mean nothing changed (or did he CTR 
some changes in)? Also, do you understand what part of the reducing barrier 
causes the extra traverser to show up in the output (i'm still trying to 
understand that more fully)? 

> 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