Github user jsnowacki commented on the issue: https://github.com/apache/spark/pull/19443 @HyukjinKwon It takes the argument the functions imported via `_create_function` and tries to cast it to `Column` via `_to_java_column` functions. Before it was passing the argument as is, and, thus, some functions, like `trim` that didn't have String argument on the Scala API side, can take both string column name and `Column` object.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org