-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
neq behaviour differs from TinkerGraph #2205
Comments
Responsible for that part of the logic should be this piece of code: janusgraph/janusgraph-core/src/main/java/org/janusgraph/graphdb/query/QueryUtil.java Lines 161 to 167 in aceff0a
Just as a hint for everyone who wants to start investigating. |
The definition of
|
Note that |
In fact, JanusGraph's neq behavior when using index contradicts to its own behavior when using full scan, as shown in #1868 (comment) |
Fixes JanusGraph#2205 Signed-off-by: Boxuan Li <[email protected]>
Fixes JanusGraph#2205 Signed-off-by: Boxuan Li <[email protected]>
Fixes JanusGraph#2205 Signed-off-by: Boxuan Li <[email protected]>
TinkerPop added a test which now fails with JanusGraph.
In our case we assume that if there is no property with the specified name in
has
step withneq
predicate than the result istrue
but TinkerGraph assumes that if there is no such property the result should always befalse
.The related discussion with @spmallette: apache/tinkerpop@76fc5c2#r42228711
As we need to alight with TinkerPop, I believe we need to change the behaviour on neq step to preserve compatibility.
For confirmed bugs, please report:
The text was updated successfully, but these errors were encountered: