You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Daniel Kuppitz (JIRA)" <ji...@apache.org> on 2016/10/25 17:20:58 UTC
[jira] [Created] (TINKERPOP-1528) CountByIsRangeStrategy fails for
a particular query
Daniel Kuppitz created TINKERPOP-1528:
-----------------------------------------
Summary: CountByIsRangeStrategy fails for a particular query
Key: TINKERPOP-1528
URL: https://issues.apache.org/jira/browse/TINKERPOP-1528
Project: TinkerPop
Issue Type: Bug
Components: process
Affects Versions: 3.2.3
Reporter: Daniel Kuppitz
In a fresh TinkerGraph:
{noformat}
gremlin> g.V().count()
==>0
gremlin> g.V().count().is(0)
gremlin>
{noformat}
Because of {{.is(0)}} the traversal is converted to something like {{g.not(V())}}. No issues with other values (!= 0).
{noformat}
gremlin> g.addV()
==>v[0]
gremlin> g.V().count()
==>1
gremlin> g.V().count().is(0)
gremlin> g.V().count().is(1)
==>1
gremlin> g.V().count().is(2)
gremlin>
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)