Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/23275#discussion_r240231883 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala --- @@ -4255,11 +4255,11 @@ object functions { * * @group udf_funcs * @since 2.0.0 + * + * @deprecated("please use the typed `udf` methods", "3.0.0") --- End diff -- with Scala 2.12, type and nullability info need to be retrieved during compile time, this method is not very useful and we should deprecate it.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org