neo4j / apoc

Apache License 2.0
84 stars 27 forks source link

apoc.meta.data() fails when there is a relationship-type `RELATIONSHIP` breaks GenAI integrations #583

Closed jexp closed 7 months ago

jexp commented 7 months ago

When you have a graph with a RELATIONSHIP the current apoc.meta.data() implementation breaks with this exception.

Failed to invoke procedure apoc.meta.data: Caused by: java.lang.IllegalArgumentException: duplicate element: RELATIONSHIP

As we use this in the schema generation for our genai-integrations, this breaks them and the applications using them.

kamzz1107 commented 7 months ago

same issue I have faced today while calling apoc.meta.data()

mfreeman451 commented 6 months ago

this was marked completed and closed, but its not clear why? where is the fix? I'm having this same issue.

mfreeman451 commented 6 months ago

is there an earlier release that doesn't have this bug?

gem-neo4j commented 6 months ago

The linked PR request fixes it, but the fix itself will be released in 5.18 :)

mfreeman451 commented 6 months ago

The linked PR request fixes it, but the fix itself will be released in 5.18 :)

What is the release cadence for neo4j?

mfreeman451 commented 6 months ago

It looks like based on the other releases we would have to wait another month for this bug to get fixed? Is there an alternative?