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

Cole Greer closed TINKERPOP-2586.
---------------------------------
    Fix Version/s: 4.0.0
         Assignee: Cole Greer
       Resolution: Fixed

Resolved by https://github.com/apache/tinkerpop/pull/3458

> 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
>            Assignee: Cole Greer
>            Priority: Major
>             Fix For: 4.0.0
>
>
> {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.20.10#820010)

Reply via email to