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

Sean Owen commented on SPARK-10296:
-----------------------------------

What do you mean that you're forced to use map? if you have an RDD of pairs and 
aren't changing keys, use mapValues?

Adding a new default param does not mean it's binary compatible.


> 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