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

    https://github.com/apache/spark/pull/20306#discussion_r162328387
  
    --- 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 --
    
    I see, sounds good. Thanks.


---

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

Reply via email to