Does Janusgraph support INFINITY in numeric comparisons predicate? #2768
Unanswered
Yicheng-Wang
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
Do you see the same error when you use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Expected behavior
We use compare predicate in the graph that contains
infinityvalue, and expecte to see thatpositive infinityis greater than any other values andnegative infinityon the contrary.Actual behavior
We encounter the exception as follows:
Example to reproduce
If we change the
ATKproperty of vertexSupermanto normal Double type value, the query works just fine. However, the exception would occur if we useDouble.POSITIVE_INFINITYorDouble.NEGATIVE_INFINITY. We are wondering if janusgraph supportinfinityvalue in numeric comparisons predicate, as INFINITY bigger than other normal value is always true in Java.Beta Was this translation helpful? Give feedback.
All reactions