You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/03/24 20:16:52 UTC

[jira] [Updated] (TINKERPOP3-537) .has(Traversal) does weird things to .as

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

stephen mallette updated TINKERPOP3-537:
----------------------------------------
    Component/s: process

> .has(Traversal) does weird things to .as
> ----------------------------------------
>
>                 Key: TINKERPOP3-537
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-537
>             Project: TinkerPop 3
>          Issue Type: Bug
>          Components: process
>            Reporter: Nik Everett
>            Priority: Critical
>             Fix For: 3.0.0.GA
>
>
> I _think_ these two results should be the same, right?
> {code:groovy}
> gremlin> g = TinkerFactory.createModern()
> ==>tinkergraph[vertices:6 edges:6]
> gremlin> g.V().has(__.values('name').is('marko')).as('marko').select()
> ==>[marko:marko]
> gremlin> g.V().has('name', 'marko').as('marko').select()
> ==>[marko:v[1]]
> {code}
> If you strip of the .as you get results I expect:
> {code:groovy}
> gremlin> g.V().has(__.values('name').is('marko'))
> ==>v[1]
> gremlin> g.V().has('name', 'marko')
> ==>v[1]
> {code}



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