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

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

Xiangrui Meng created SPARK-2617:
------------------------------------

             Summary: 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)