Lei Tang created TINKERPOP-2891: ----------------------------------- Summary: Inconsistent behavior when comparing a counted value with a negative value Key: TINKERPOP-2891 URL: https://issues.apache.org/jira/browse/TINKERPOP-2891 Project: TinkerPop Issue Type: Bug Reporter: Lei Tang
I compare a value that should be greater than or equal to 0 with a negative value. {code:java} gremlin> :> g.V().where(__.in().count().is(eq(-3))) Not a legal range: [0, -2] gremlin> :> g.V().where(__.in().count().is(eq(-2))){code} I find that Tinkergraph throws an exception when comparing negative values less than -2, but does nothing when comparing with -2. I'm curious why they behave differently. In addition, I think Tinkergraph should return all vertices, not throw exceptions. -- This message was sent by Atlassian Jira (v8.20.10#820010)