Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
Tinkergraph cannot correctly compare values using outside(a,b) when a is greater than b.
outside(a,b) is used to judging whether the incoming number less than the first provided number or greater than the second.
So, in the following example, we expect all edges can be returned. But Tinkergraph returns an empty set.
gremlin> :> g.E().where(__.inV().count().is(outside(-1,-2)))
I also find that, if I remove CountStrategy, Tinkergraph can handle it correctly.
gremlin> :> g.withoutStrategies(CountStrategy).E().where(__.inV().count().is(outside(-1,-2))) ==>e[4][0-knows->2] ==>e[6][0-knows->5]
Maybe there is something wrong with CountStrategy?
Attachments
Issue Links
- duplicates
-
TINKERPOP-2893 Incorrectly comparing a counted value with multiple predicates
- Closed