Skip to content
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.do.case not populating UpdateStatistics #630

Open
UniqueConstraint opened this issue May 23, 2024 · 1 comment
Open

apoc.do.case not populating UpdateStatistics #630

UniqueConstraint opened this issue May 23, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@UniqueConstraint
Copy link

An apoc.do.case statement, to merge relationships based on matching relationship properties, is not producing any UpdateStatistics e.g. relationshipCreated. All values in UpdateStatistics return zero.

I noticed other apoc functionality have versions with stats e.g. apoc.merge.relationshipWithStats

Is there a workaround or fix for apoc.do.case?

@UniqueConstraint UniqueConstraint added the bug Something isn't working label May 23, 2024
@mnd999 mnd999 transferred this issue from neo4j/neo4j May 24, 2024
@Lojjs
Copy link
Contributor

Lojjs commented May 27, 2024

@UniqueConstraint That update statistics are not shown in general for procedures is not a bug, but a known limitation of the Neo4j procedure framework. It is tracked internally as a future improvement to do for the procedure framework. I suppose that the withStats versions of some procedures as you mention is a workaround of sorts for these specific procedures but I am unfortunately not aware of any general workaround.

If you wish I could track adding withStats versions for more APOC procedures as a feature request, but as APOC core is currently in maintenance mode with only a limited number of people working on it (focusing on support), it is not anything that will happen soon.

Best regards Louise, Neo4j

@Lojjs Lojjs added enhancement New feature or request and removed bug Something isn't working labels May 27, 2024
@Lojjs Lojjs self-assigned this May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants