tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TINKERPOP-1803) inject() doesn't re-attach with remote traversals
Date Thu, 19 Oct 2017 13:10:01 GMT

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

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

Github user okram commented on the issue:

    https://github.com/apache/tinkerpop/pull/735
  
    ```
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 03:21 h
    [INFO] Finished at: 2017-10-18T21:13:52-06:00
    [INFO] Final Memory: 163M/1660M
    [INFO] ------------------------------------------------------------------------
    ```


> inject() doesn't re-attach with remote traversals
> -------------------------------------------------
>
>                 Key: TINKERPOP-1803
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1803
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.2.6
>            Reporter: stephen mallette
>            Assignee: Marko A. Rodriguez
>            Priority: Critical
>
> In the console we get this:
> {code}
> gremlin> v2 = g.V(2).next()
> ==>v[2]
> gremlin> g.V(1).out().inject(v2).values("name")
> ==>vadas
> ==>lop
> ==>vadas
> ==>josh
> {code}
> From gremlin-python we can see:
> {code}
> >>> v2 = g.V(2).next()
> >>> g.V(1).out().inject(v2).values("name").toList()
> [u'lop', u'vadas', u'josh']
> {code}
> and using {code}withRemote(){code} in java:
> {code}
> gremlin> v2 = g.V(2).next()
> ==>v[2]
> gremlin> g.V(1).out().inject(v2).values("name")
> ==>lop
> ==>vadas
> ==>josh
> {code}
> Since {{inject()}} doesn't re-attach the vertex when {{values()}} gets called it acts
on a reference vertex with no properties and returns nothing.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message