You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/10/16 23:37:05 UTC
[jira] [Resolved] (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 ]
Joseph K. Bradley resolved SPARK-11050.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Issue resolved by pull request 9069
[https://github.com/apache/spark/pull/9069]
> 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
> Fix For: 1.6.0
>
>
> 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