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

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

GitHub user dkuppitz opened a pull request:

    https://github.com/apache/tinkerpop/pull/406

    TINKERPOP-1391 issue with where filter

    Enclose filter steps and side-effect steps in `RangeByIsCountStrategy` when 
`NotStep` is used to wrap part of the traversal.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1391-master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/406.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #406
    
----

----


> issue with where filter
> -----------------------
>
>                 Key: TINKERPOP-1391
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1391
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.1.3
>            Reporter: Arik Cohen
>            Assignee: Daniel Kuppitz
>
> Graph g = TinkerGraph.open();
> g.addVertex(T.label,"GROUP","name","Acme");
>     
> List<Vertex> list = g.traversal()
>                                .V()
>                                .hasLabel("GROUP")
>                                
> .where(__.outE().hasLabel("PART_OF").count().is(0))
>                                .toList();
>     
> Assert.assertEquals(1, list.size()); // actual size is 0



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

Reply via email to