You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2014/07/22 11:36:38 UTC

[jira] [Commented] (SPARK-2617) Correct doc and usage of preservesPartitioning

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

Apache Spark commented on SPARK-2617:
-------------------------------------

User 'mengxr' has created a pull request for this issue:
https://github.com/apache/spark/pull/1526

> Correct doc and usage of preservesPartitioning
> ----------------------------------------------
>
>                 Key: SPARK-2617
>                 URL: https://issues.apache.org/jira/browse/SPARK-2617
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation, MLlib, Spark Core
>    Affects Versions: 1.0.1
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>
> The name `preservesPartitioning` is ambiguous: 1) preserves the indices of partitions, 2) preserves the partitioner. The latter is correct and `preservesPartitioning` should really be called `preservesPartitioner`. Unfortunately, this is already part of the API and we cannot change.
> We should be clear in the doc and fix wrong usages.



--
This message was sent by Atlassian JIRA
(v6.2#6252)