cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

apoc.refactor.cloneNodes withRelationships = true - hangs and does not complete call

With APOC 4.4.0.6 does anybody experience hanging of the call when using cloneNodes with relationships, as per the following simple example.  Or am I doing something wrong?

// Query 1
CREATE (a:Person {name: "Mark", city: "London"})
CREATE (b:Person {name: "Dan", city: "Hull"})
CREATE (a)-[r:FRIENDS_WITH]->(b)
RETURN a,b

// Query 2
MATCH (p:Person)
WITH collect(p) AS people
CALL apoc.refactor.cloneNodes(people, true)
YIELD input, output
RETURN input, output;

I raised an issue, if it helps
https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/3000

1 ACCEPTED SOLUTION

@mark-sts @dcsts 

It's a regression introduced with the latest version.

I just created a pr to fix it https://github.com/neo4j-contrib/neo4j-apoc-procedures/pull/3005

View solution in original post

3 REPLIES 3

I am also experiencing this issue using this APOC 4.4.0.6.

My queries worked fine when on APOC 4.4.0.3, but now hang as described above

@mark-sts @dcsts 

It's a regression introduced with the latest version.

I just created a pr to fix it https://github.com/neo4j-contrib/neo4j-apoc-procedures/pull/3005

Thank you! 😀