Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/22732#discussion_r225655290 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/expressions/UserDefinedFunction.scala --- @@ -81,11 +81,11 @@ case class UserDefinedFunction protected[sql] ( f, dataType, exprs.map(_.expr), + nullableTypes.map(_.map(!_)).getOrElse(exprs.map(_ => false)), --- End diff -- @srowen @cloud-fan This sounds a new behavior added in Spark 2.4 release by the PR https://github.com/apache/spark/pull/22259, right?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org