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/19 05:11:58 UTC

[jira] [Commented] (SPARK-18003) RDD zipWithIndex generate wrong result when one partition contains more than 2147483647 records.

    [ https://issues.apache.org/jira/browse/SPARK-18003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15587706#comment-15587706 ] 

Apache Spark commented on SPARK-18003:
--------------------------------------

User 'WeichenXu123' has created a pull request for this issue:
https://github.com/apache/spark/pull/15550

> RDD zipWithIndex generate wrong result when one partition contains more than 2147483647 records.
> ------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-18003
>                 URL: https://issues.apache.org/jira/browse/SPARK-18003
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Weichen Xu
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> RDD zipWithIndex generate wrong result when one partition contains more than Int.MaxValue records.
> when RDD contains a partition with more than 2147483647 records, 
> error occurs.
> for example, if partition-0 has more than 2147483647 records, the index became:
> 0,1, ..., 2147483647, -2147483648, -2147483647, -2147483646 ....



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