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

    https://github.com/apache/spark/pull/20306#discussion_r162299712
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala
 ---
    @@ -838,6 +839,7 @@ case class Cast(child: Expression, dataType: DataType, 
timeZoneId: Option[String
                  |$evPrim = $buffer.build();
                """.stripMargin
             }
    +      case pudt: PythonUserDefinedType => castToStringCode(pudt.sqlType, 
ctx)
    --- End diff --
    
    How about what I suggested at 
https://github.com/apache/spark/pull/20306#discussion_r162269190?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to