-
Notifications
You must be signed in to change notification settings - Fork 30
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
Procedure apoc.meta.subgraph
return wrong type with includeLabels
not existent
#68
Comments
Comment by vga91 Related to #1491 (Same root cause, but without rels) |
Here is a little more detailed variant (on 5.25.1) Setup:
Query 1:
=> correct result Query 2:
=> wrong result In other words, truly unknown labels are effected. Note that
is not indicator which labels are effected, since it does not return The same issue appear on the function
correctly returns
while
erroneously returns
Like the result of |
A similar problem also exists for relationship types. Setup
Query 1:
=> correct result Query 2:
=> correct result Query 3:
=> wrong result Here the made up Query 4:
=> correct result, interestingly Query 5:
=> wrong result, again |
Issue by vga91
Monday May 17, 2021 at 10:35 GMT
Originally opened as neo4j-contrib/neo4j-apoc-procedures#1906
Expected Behavior (Mandatory)
Should return
nodes: []
andrelationships: []
Actual Behavior (Mandatory)
The procedure returns a node with dataset total count.
How to Reproduce the Problem
Simple Dataset (where it's possibile)
Steps (Mandatory)
CALL apoc.meta.subGraph({labels:["Test"],rels:[],excludes:[]})
"Test"
node with count 2, even if the label does not existScreenshots (where it's possibile)
Currently used versions
Versions
The text was updated successfully, but these errors were encountered: