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 2021/08/11 16:10:00 UTC

[jira] [Updated] (TINKERPOP-2586) Predicate validation inside the within clause should error for Traversal objects.

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

Stephen Mallette updated TINKERPOP-2586:
----------------------------------------
    Component/s:     (was: tinkergraph)
                     (was: server)
                 process

> Predicate validation inside the within clause should error for Traversal objects.
> ---------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2586
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2586
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.5.0
>            Reporter: Prashant
>            Priority: Major
>
> {code:java}
> g.V().out().is(within(V().fold()))
> {code}
> The above query should return all the vertices, however returns an empty result set. 
> Argument inside the within step can not be Traversal which is not validated as of now. 
> As part of this issue, either the Traversal inside the within step should be executed or query should fail while being parsed as the Predicate inside the within step can not be a Traversal.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)