We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e48ebc4 commit 0c7e552Copy full SHA for 0c7e552
mllib/src/main/scala/org/apache/spark/ml/feature/NGram.scala
@@ -68,7 +68,7 @@ class NGram @Since("1.5.0") (@Since("1.5.0") override val uid: String)
68
s"Input type must be ArrayType(StringType) but got $inputType.")
69
}
70
71
- override protected def outputDataType: DataType = new ArrayType(StringType, false)
+ override protected def outputDataType: DataType = new ArrayType(StringType, true)
72
73
74
@Since("1.6.0")
0 commit comments