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

    https://github.com/apache/spark/pull/20163#discussion_r161362994
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/python/EvaluatePython.scala
 ---
    @@ -144,6 +145,7 @@ object EvaluatePython {
         }
     
         case StringType => (obj: Any) => nullSafeConvert(obj) {
    +      case _: Calendar => null
           case _ => UTF8String.fromString(obj.toString)
    --- End diff --
    
    > check if the string conversion looks reasonably consistent by 
obj.toString. If not, we add it in the blacklist.
    
    hmm, this seems weird as the type mismatch now is defined by Pyrolite 
object's `toString` behavior...


---

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

Reply via email to