CALL gds.betweenness.write('myGraph', { writeProperty: 'betweenness' })
YIELD centralityDistribution, nodePropertiesWritten
RETURN centralityDistribution.min AS minimumScore, centralityDistribution.mean AS meanScore, nodePropertiesWritten
Failed to invoke procedure 'gds.betweenness.write':Caused by:
java.lang.ArrayIndexOutOfBoundsException: The value -1166327.1299011214 is out of bounds for
histogram,current covered range [0.5, 2.147483648E9) cannot be extended any further.
Caused by: java.lang.ArrayIndexOutOfBoundsException:Negative values cannot be recorded
无法记录负值
出现负数了,你检查是哪行出了差错。