Encountering an unexpected exception [java.lang.IllegalArgumentException] when ordering vertices/edges by property values that are not defined for all #3840
Unanswered
joyemang33
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@joyemang33 this is expected behavior. You can't sort by incomparable values (in your situation a missing value).
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From here, and many thanks for reproducing it by @li-boxuan.
This will lead to an unexpected exception
java.lang.IllegalArgumentException
, whereas TinkerGraph will filter out the nodes that miss the key properties.Notably, if all nodes have no key properties, such exceptions will not be raised.
It would be highly appreciated if you further investigate it and fix it that make the case more consistent.
Best regards,
Joye
Beta Was this translation helpful? Give feedback.
All reactions