Github user jkbradley commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20829#discussion_r175904796
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/feature/StringIndexer.scala ---
    @@ -234,7 +234,7 @@ class StringIndexerModel (
         val metadata = NominalAttribute.defaultAttr
           .withName($(outputCol)).withValues(filteredLabels).toMetadata()
         // If we are skipping invalid records, filter them out.
    -    val (filteredDataset, keepInvalid) = getHandleInvalid match {
    --- End diff --
    
    For the record, in general, I would not bother making changes like this.  
The one exception I do make is IntelliJ style complaints since those can be 
annoying for developers.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to