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 2016/10/26 23:07:59 UTC
[jira] [Commented] (SPARK-18126) zipWithIndex accepts negative
value as index.
[ https://issues.apache.org/jira/browse/SPARK-18126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15609986#comment-15609986 ]
Apache Spark commented on SPARK-18126:
--------------------------------------
User 'wangmiao1981' has created a pull request for this issue:
https://github.com/apache/spark/pull/15639
> zipWithIndex accepts negative value as index.
> ---------------------------------------------
>
> Key: SPARK-18126
> URL: https://issues.apache.org/jira/browse/SPARK-18126
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Reporter: Miao Wang
>
> getIteratorZipWithIndex[T] in Utils.scala accepts negative value as start index. We need to add check to ensure the startIndex is >= 0.
--
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