You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Prashant (Jira)" <ji...@apache.org> on 2021/07/13 21:40:00 UTC
[jira] [Created] (TINKERPOP-2586) Predicate validation inside the
within clause should error for Traversal objects.
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)