Which RDD operations preserve ordering?

2015-03-26 Thread sergunok
Hi guys,

I don't have exact picture about preserving of ordering of elements of RDD
after executing of operations.

Which operations preserve it?
1) Map (Yes?)
2) ZipWithIndex (Yes or sometimes yes?)

Serg.



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Which-RDD-operations-preserve-ordering-tp22239.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Re: Which RDD operations preserve ordering?

2015-03-26 Thread Ted Yu
This is related:
https://issues.apache.org/jira/browse/SPARK-6340

On Thu, Mar 26, 2015 at 5:58 AM, sergunok ser...@gmail.com wrote:

 Hi guys,

 I don't have exact picture about preserving of ordering of elements of RDD
 after executing of operations.

 Which operations preserve it?
 1) Map (Yes?)
 2) ZipWithIndex (Yes or sometimes yes?)

 Serg.



 --
 View this message in context:
 http://apache-spark-user-list.1001560.n3.nabble.com/Which-RDD-operations-preserve-ordering-tp22239.html
 Sent from the Apache Spark User List mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
 For additional commands, e-mail: user-h...@spark.apache.org