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:27:20 GMT

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

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

[~arikc] i'd assumed that this also failed in 3.1.3 - did you confirm that it works on 3.1.3
before changing the affected version to 3.2.1? if not, we should fix on the 3.1.x line.

> 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