Why the Betweenness Centrality algorithm can't YIELD "score"?

Dear community,

I try to run Betweenness Centrality algorithm from doc below

CALL gds.alpha.betweenness.stream('myGraph')
YIELD nodeId, score
RETURN gds.util.asNode(nodeId).name AS name, score
ORDER BY name ASC

and get error

what may causing the error?

Hello @yevheniy.derykot :slight_smile:

Which version of Neo4j and APOC are you using?

Regards,
Cobra

Neo4j 4.0.4

APOC
4.0.0.11

gds.version
1 "1.2.1"

Can you try to upgrade your database to 4.1.1? You will have to upgrade GDS (1.3.2) and APOC (4.1.0.2) as well.

1 Like

Everything works, thank you :smiley:

1 Like