-
Notifications
You must be signed in to change notification settings - Fork 495
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
apoc.meta.stats return false relationship count when having multi-labeled nodes #1910
Comments
Thanks for reporting, we'll look into it. In the meantime try using the counts in Can you include the version(s) of Neo4j and apoc.meta.stats() you've observed this on? I can see some weirdness on Neo4j 4.2.5 and APOC 4.2.0.2 myself so far. |
…ount when having multi-labeled nodes
Fixes #1910 Co-authored-by: Giuseppe Villani <giuseppe.villani@larus-ba.it>
Fixes #1910 Co-authored-by: Giuseppe Villani <giuseppe.villani@larus-ba.it>
Fixes #1910 Co-authored-by: Giuseppe Villani <giuseppe.villani@larus-ba.it>
If you have multi-labeled nodes in a graph, the
apoc.meta.stats
procedure return false information about relationship count.Example dataset:
We can then run the apoc.meta.stats procedure
The results are actually quite weird:
I guess the global number of relCount is correct as it return a value of 2. The relTypesCount duplicates the relationship count when you are dealing with a multilabeled node. OTOH I don't really know what relTypeCount of 7 is really doing
The text was updated successfully, but these errors were encountered: