Hi,

I just wanted to notice that in the API doc page for the pregel operator (graphX API for spark 2.2.1):

http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.graphx.GraphOps@pregel[A](A,Int,EdgeDirection)((VertexId,VD,A)%E2%87%92VD,(EdgeTriplet[VD,ED])%E2%87%92Iterator[(VertexId,A)],(A,A)%E2%87%92A)(ClassTag[A]):Graph[VD,ED]

It says that the default value for the activeDir parameter is EdgeDirection.Either


However, in the GraphX programming guide:

http://spark.apache.org/docs/latest/graphx-programming-guide.html#pregel-api

in the type signature for the pregel operator the default value indicated is EdgeDirection.Out. For consistency, I think that it should be changed in the programming guide to the actual default value (Either).


Regards,

Ramon BĂ©jar

DIEI - UdL


---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to