-
- Downloads
[SPARK-12711][ML] ML StopWordsRemover does not protect itself from column name duplication
Fixes problem and verifies fix by test suite. Also - adds optional parameter: nullable (Boolean) to: SchemaUtils.appendColumn and deduplicates SchemaUtils.appendColumn functions. Author: Grzegorz Chilkiewicz <grzegorz.chilkiewicz@codilime.com> Closes #10741 from grzegorz-chilkiewicz/master.
Showing
- mllib/src/main/scala/org/apache/spark/ml/feature/StopWordsRemover.scala 1 addition, 3 deletions.../scala/org/apache/spark/ml/feature/StopWordsRemover.scala
- mllib/src/main/scala/org/apache/spark/ml/util/SchemaUtils.scala 3 additions, 5 deletions...src/main/scala/org/apache/spark/ml/util/SchemaUtils.scala
- mllib/src/test/scala/org/apache/spark/ml/feature/StopWordsRemoverSuite.scala 15 additions, 0 deletions...a/org/apache/spark/ml/feature/StopWordsRemoverSuite.scala
Please register or sign in to comment