Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/20503 `unicode(fields).encode("utf8")`: in this case, we will try to decode it by system default encoding first and then encode it by udf-8 if the input is `str` (bytes). So, for example, I think `unicode("ì")` case won't work.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org