tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arik Cohen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TINKERPOP-1391) issue with where filter
Date Fri, 29 Jul 2016 16:23:20 GMT

     [ https://issues.apache.org/jira/browse/TINKERPOP-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arik Cohen updated TINKERPOP-1391:
----------------------------------
    Affects Version/s:     (was: 3.1.3)
                       3.2.1
        Fix Version/s:     (was: 3.1.4)

> 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.2.1
>            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)

Mime
View raw message