[ 
https://issues.apache.org/jira/browse/SPARK-10296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720706#comment-14720706
 ] 

holdenk commented on SPARK-10296:
---------------------------------

mapValues won't expose the key that its being operated on (its possible to have 
something where you aren't going to change the key but the change to the value 
depends on in part the key).

> add preservesParitioning parameter to RDD.map
> ---------------------------------------------
>
>                 Key: SPARK-10296
>                 URL: https://issues.apache.org/jira/browse/SPARK-10296
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Esteban Donato
>            Priority: Minor
>
> It would be nice to add the Boolean parameter preservesParitioning with 
> default false to RDD.map method just as it is in RDD.mapPartitions method.
> If you agree I can submit a pull request with this enhancement.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to