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

    https://github.com/apache/spark/pull/21804#discussion_r203947486
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/feature/HashingTF.scala 
---
    @@ -104,7 +104,7 @@ class HashingTF @Since("1.4.0") (@Since("1.4.0") 
override val uid: String)
       override def transformSchema(schema: StructType): StructType = {
         val inputType = schema($(inputCol)).dataType
         require(inputType.isInstanceOf[ArrayType],
    -      s"The input column must be ArrayType, but got $inputType.")
    +      s"The input column must be ${ArrayType.simpleString}, but got 
${inputType.catalogString}.")
    --- End diff --
    
    let us change all?


---

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

Reply via email to