You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Miao Wang (JIRA)" <ji...@apache.org> on 2016/10/26 23:09:58 UTC

[jira] [Updated] (SPARK-18126) getIteratorZipWithIndex accepts negative value as index.

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

Miao Wang updated SPARK-18126:
------------------------------
    Summary: getIteratorZipWithIndex accepts negative value as index.  (was: zipWithIndex accepts negative value as index.)

> getIteratorZipWithIndex 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