tinkerpop-dev mailing list archives

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

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

stephen mallette commented on TINKERPOP-1391:
---------------------------------------------

thanks for validating that.

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

Mime
View raw message