зеркало из https://github.com/microsoft/spark.git
Fixed compile error due to merge
This commit is contained in:
Родитель
0e33c88cbd
Коммит
399bd65ef5
|
@ -253,7 +253,6 @@ class RDDSuite extends FunSuite with SharedSparkContext {
|
|||
}
|
||||
|
||||
test("takeSample") {
|
||||
sc = new SparkContext("local", "test")
|
||||
val data = sc.parallelize(1 to 100, 2)
|
||||
for (seed <- 1 to 5) {
|
||||
val sample = data.takeSample(withReplacement=false, 20, seed)
|
||||
|
|
Загрузка…
Ссылка в новой задаче