Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-20-2020 11:35 AM
When calling the following using gds
1.1 and neo4j
3.5.14:
CALL gds.graph.create.cypher(
'project_name',
'MATCH (p:Project{name:"project_name"})-[:HAS]->(s:Surface) where s.stable <> 0 return id(s) as id',
'MATCH (p:Project{name:"project_name"})-[:HAS]->(s:Surface)-[c:CONFIDENCE]->(t:Surface) WHERE c.confidence <= 15.0 RETURN id(s) as source, id(t) as target'
)
YIELD graphName, nodeCount, relationshipCount, createMillis;
I get the error:
Neo.ClientError.Procedure.ProcedureCallFailed
Failed to invoke procedure `gds.graph.create.cypher`: Caused by: java.lang.IndexOutOfBoundsException: index 243
Also the same error for a similar call when using algo
3.5.14:
MATCH (p:Project {name: 'project_name'})-[:HAS_START]->(start:Surface)
CALL algo.dfs.stream(
'MATCH (p:Project{name:"project_name"})-[:HAS]->(s:Surface) where s.stable <> 0 return id(s) as id',
'MATCH (p:Project{name:"project_name"})-[:HAS]->(s:Surface)-[c:CONFIDENCE]->(t:Surface) WHERE c.confidence <= 15.0 RETURN id(s) as source, id(t) as target',
'>',
id(start),
{
graph: 'cypher'
}
)
YIELD nodeIds
With the error:
Failed to invoke procedure `algo.dfs.stream`: Caused by: java.lang.IndexOutOfBoundsException: index 243
What is wrong here? Each of the MATCH
queries works fine outside of the algo
or gds
call, and this calls work for some projects and not others.
06-04-2020 07:18 AM
Hello @nabila.abraham, no I still have this issue, just working around it and hoping I don't see it again at the moment
08-05-2021 07:50 AM
I have exactly the same issue. Any ideas?
08-08-2021 08:08 AM
The easiest fix is to upgrade to Neo4j 4.3 (or anything in the 4.x series) and use the 1.6 version of the library.
If you're still running into this bug, and you can't upgrade from Neo4j 3.5, please test it with GDS 1.1.6 (the newest GDS 1.1 series patch).
The algos library, fwiw, is deprecated and no longer supported.
All the sessions of the conference are now available online