GitHub user mengxr opened a pull request:

    https://github.com/apache/spark/pull/22225

    [SPARK-25234][SPARKR] avoid integer overflow in parallelize

    ## What changes were proposed in this pull request?
    
    `parallelize` uses integer multiplication to determine the split indices. 
It might cause integer overflow.
    
    ## How was this patch tested?
    
    unit test
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mengxr/spark SPARK-25234

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22225.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22225
    
----
commit 20f9498384ef5587970c3673c86488404ee89a54
Author: Xiangrui Meng <meng@...>
Date:   2018-08-24T18:01:14Z

    add test

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to