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

ASF GitHub Bot commented on TINKERPOP-1867:
-------------------------------------------

Github user dkuppitz commented on the issue:

    https://github.com/apache/tinkerpop/pull/775
  
    I've merged this branch into `master/` (locally), but it didn't change 
anything (which is actually a good thing, as I don't like surprises after a 
merge :)). We still get the kinda unexpected empty list in OLTP and the whole 
bunch of empty lists in OLAP:
    
    ```
    gremlin> g = 
TinkerFactory.createModern().traversal().withoutStrategies(StandardVerificationStrategy)
    ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
    gremlin> 
g.V(1).repeat(aggregate("a").fold().store("x").unfold().both().where(without("a")).dedup()).cap("x").next()
    ==>[]
    ==>[v[1]]
    ==>[v[3],v[2],v[4]]
    ==>[v[6],v[5]]
    gremlin> g = 
TinkerFactory.createModern().traversal().withComputer().withoutStrategies(StandardVerificationStrategy)
    ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], graphcomputer]
    gremlin> 
g.V(1).repeat(aggregate("a").fold().store("x").unfold().both().where(without("a")).dedup()).cap("x").next()
    ==>[v[1]]
    ==>[]
    ==>[]
    ==>[]
    ==>[]
    ==>[]
    ==>[v[2],v[4],v[3]]
    ==>[v[5],v[6]]
    ```
    
    The results are the same in `tp32/` and `master/`, nothing's changed.
    
    So, although the issue looks similar, it's probably a whole different thing 
that just happens to produce the same kind of unexpected result entries.


> 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: Daniel Kuppitz
>
> 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