Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20246#discussion_r161362196
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala
 ---
    @@ -282,6 +282,8 @@ case class Cast(child: Expression, dataType: DataType, 
timeZoneId: Option[String
             builder.append("]")
             builder.build()
           })
    +    case udt: UserDefinedType[_] =>
    --- End diff --
    
    I think we can strip UDT at L608 and fix this problem entirely.


---

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

Reply via email to