Re: [GraphX] Cast error when comparing a vertex attribute after its type has changed

2014-06-27 Thread Pierre-Alexandre Fonta
Thanks for having corrected this bug! The fix version is marked as 1.1.0 ( SPARK-1552 https://issues.apache.org/jira/browse/SPARK-1552 ). I have tested my code snippet with Spark 1.0.0 (Scala 2.10.4) and it works. I don't know if it's important to mention it. Pierre-Alexandre -- View this

[GraphX] Cast error when comparing a vertex attribute after its type has changed

2014-04-11 Thread Pierre-Alexandre Fonta
Hi, Testing in mapTriplets if a vertex attribute, which is defined as Integer in first VertexRDD but has been changed after to Double by mapVertices, is greater than a number throws java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double. If second elements of vertex