Github user mgaido91 commented on a diff in the pull request:
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/types/StructType.scala ---
    @@ -271,7 +271,9 @@ case class StructType(fields: Array[StructField]) 
extends DataType with Seq[Stru
       def apply(name: String): StructField = {
    -      throw new IllegalArgumentException(s"""Field "$name" does not 
    +      throw new IllegalArgumentException(
    +        s"""Field "$name" does not exist.
    +           |Available fields: 
    --- End diff --
    nit: can we add a space after the comma? I think it can help readability


To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to