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 2015/10/12 02:19:05 UTC

[jira] [Assigned] (SPARK-11050) PySpark SparseVector can return wrong index in error message

     [ https://issues.apache.org/jira/browse/SPARK-11050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-11050:
------------------------------------

    Assignee:     (was: Apache Spark)

> PySpark SparseVector can return wrong index in error message
> ------------------------------------------------------------
>
>                 Key: SPARK-11050
>                 URL: https://issues.apache.org/jira/browse/SPARK-11050
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib, PySpark
>    Affects Versions: 1.6.0
>            Reporter: Joseph K. Bradley
>            Priority: Trivial
>              Labels: starter
>
> PySpark {{SparseVector.__getitem__}} returns an error message if given a bad index here:
> [https://github.com/apache/spark/blob/a16396df76cc27099011bfb96b28cbdd7f964ca8/python/pyspark/mllib/linalg/__init__.py#L770]
> But the index it complains about could have been modified (if negative), meaning the index in the error message could be wrong.  This should be corrected.



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

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