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

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

Github user dkuppitz commented on the pull request:

    
https://github.com/apache/incubator-tinkerpop/pull/318#issuecomment-221502808
  
    Full test suite passed, query times look good ...
    
    VOTE: +1


> NPE with OLTP nested group() in an OLAP group() traversal
> ---------------------------------------------------------
>
>                 Key: TINKERPOP-1307
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1307
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.2.0-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: Marko A. Rodriguez
>
> {code}
> graph = TinkerGraph.open()
> graph.io(graphml()).readGraph('data/grateful-dead.xml')
> g = graph.traversal().withComputer()
> g.V().hasLabel('song').match(
>     __.as('songV').values('name').as('songName'),
>     __.as('songV').out('followedBy').as('followedV'),
>     __.as('followedV').values('name').as('followedName'),
>     __.as('followedV').out('sungBy').as('sungByV'),
>     __.as('sungByV').values('name').as('sungBy'),
>     __.as('followedV').out('writtenBy').as('writtenByV'),
>     __.as('writtenByV').values('name').as('writtenBy')
>   ).select('songName','followedName','sungBy','writtenBy').
>     
> group().by(select('songName')).by(group().by(select('followedName')).by(select('sungBy').fold()))
> {code}
> The above causes an NPE. I know why -- potentially easy fix.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to