Janusgraph could not deal with abnormal range queries for Predicate #2755
-
For confirmed bugs, please report:
Stack Trace (if you have one)
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @zhengyingying , could it be related to #2273 ? |
Beta Was this translation helpful? Give feedback.
-
@zhengyingying I converted the issue into a Discussion. I think this is most likely related to either #2754 (incorrect usage of Double values in Gremlin Console) or to #2273 . Also, your |
Beta Was this translation helpful? Give feedback.
@zhengyingying I converted the issue into a Discussion. I think this is most likely related to either #2754 (incorrect usage of Double values in Gremlin Console) or to #2273 .
Please, try using
g.E().has('ep2', inside(0.8480583995943037d, 0.5952456882067648d))
instead ofg.E().has('ep2', inside(0.8480583995943037, 0.5952456882067648))
and try to reproduce it on 0.6.0 JanusGraph release. In case it's reproducible, please, open a new issue with the reproduction scenario.Also, your
inside
query logic isn't correct because you essentially saying.and(P.gt(0.8480583995943037d), P.lt(0.5952456882067648d))
which will always result in false. Probably, you should swap your values.