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)

Reply via email to