Repository: spark
Updated Branches:
refs/heads/branch-1.2 76386e1a2 -> a68321400
[SPARK-4148][PySpark] fix seed distribution and add some tests for rdd.sample
The current way of seed distribution makes the random sequences from partition
i and i+1 offset by 1.
~~~
In [14]: import random
In
Repository: spark
Updated Branches:
refs/heads/master 2aca97c7c -> 3cca19622
[SPARK-4148][PySpark] fix seed distribution and add some tests for rdd.sample
The current way of seed distribution makes the random sequences from partition
i and i+1 offset by 1.
~~~
In [14]: import random
In [15]