spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Mocanu <amoc...@verticalscope.com>
Subject is sorting necessary after join of sorted RDD
Date Thu, 20 Mar 2014 16:00:24 GMT
Is sorting necessary after a join on 2 sorted RDD?

Example:
val stream1= mystream.transform(rdd=>rdd.sortByKey(true))
val stream2= mystream.transform(rdd=>rdd.sortByKey(true))
val stream3= stream1.join(stream2)

Will stream3 be ordered?

-Adrian


Mime
View raw message