cloud-fan commented on a change in pull request #28311:
URL: https://github.com/apache/spark/pull/28311#discussion_r414253057
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/functions.scala
##########
@@ -4856,16 +4856,16 @@ object functions {
* @group udf_funcs
* @since 2.0.0
*/
- @deprecated("Untyped Scala UDF API is deprecated, please use typed Scala UDF
API such as " +
- "'def udf[RT: TypeTag](f: Function0[RT]): UserDefinedFunction' instead.",
"3.0.0")
+ @deprecated("`udf` method with return type parameter is deprecated. " +
Review comment:
I checked that the java udf API also has return type parameter. Maybe
better to say `Scala udf method ...`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]