spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramon Bejar Torres <ra...@diei.udl.cat>
Subject [Spark GraphX pregel] default value for EdgeDirection not consistent between programming guide and API documentation
Date Tue, 13 Feb 2018 23:36:10 GMT
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-unsubscribe@spark.apache.org


Mime
View raw message