Prashant created TINKERPOP-2586:
-----------------------------------

             Summary: 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: server, tinkergraph
    Affects Versions: 3.5.0
            Reporter: Prashant


{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)

Reply via email to