Hi, I'm a beginner using Spark with Scala and I'm having trouble understanding ordering in RDDs. I understand that RDDs are ordered (as they can be sorted) but that some transformations don't preserve order.
How can I know which transformations preserve order and which don't? Regarding map, for instance, this StackOverflow answer says map preserves order but this answer on this ML implies it doesn't. The scaladoc doesn't say explicitely. Which is it? https://stackoverflow.com/a/31525843 http://apache-spark-user-list.1001560.n3.nabble.com/rdd-ordering-gets-scrambled-tp5062p6482.html https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.rdd.RDD -- Johan Grande Sopra Steria for Orange _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org