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

Joseph K. Bradley updated SPARK-11050:
--------------------------------------
    Assignee: Bhargav Mangipudi

> 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
>            Assignee: Bhargav Mangipudi
>            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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to