Skip to content

Commit 49fd362

Browse files
Fix empty DataFrame column error
1 parent 37af391 commit 49fd362

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mllib/src/test/scala/org/apache/spark/ml/feature/StopWordsRemoverSuite.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ class StopWordsRemoverSuite
9696
.setInputCol("raw")
9797
.setOutputCol(outputCol)
9898
val dataSet = sqlContext.createDataFrame(Seq(
99-
(Seq("A"), Seq()),
100-
(Seq("The", "the"), Seq())
99+
(Seq("The", "the", "swift"), Seq("swift"))
101100
)).toDF("raw", outputCol)
102101

103102
val thrown = intercept[IllegalArgumentException] {

0 commit comments

Comments
 (0)