This is an automated email from the ASF dual-hosted git repository. ruifengz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new 482497c22ac [SPARK-44131][SQL][FOLLOWUP] Revert the deprecation message 482497c22ac is described below commit 482497c22ac103b2df349251f8871d74b645d38f Author: Ruifeng Zheng <ruife...@apache.org> AuthorDate: Wed Jul 12 16:31:40 2023 +0800 [SPARK-44131][SQL][FOLLOWUP] Revert the deprecation message ### What changes were proposed in this pull request? Revert the deprecation message changes ### Why are the changes needed? to address https://github.com/apache/spark/pull/41687#issuecomment-1631806781 ### Does this PR introduce _any_ user-facing change? yes ### How was this patch tested? existing CI Closes #41950 from zhengruifeng/sql_call_function_warning. Authored-by: Ruifeng Zheng <ruife...@apache.org> Signed-off-by: Ruifeng Zheng <ruife...@apache.org> --- sql/core/src/main/scala/org/apache/spark/sql/functions.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sql/core/src/main/scala/org/apache/spark/sql/functions.scala b/sql/core/src/main/scala/org/apache/spark/sql/functions.scala index 6931cd286ef..2a8cfd250c9 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/functions.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/functions.scala @@ -8336,7 +8336,7 @@ object functions { * @since 1.5.0 */ @scala.annotation.varargs - @deprecated("Use call_function") + @deprecated("Use call_udf") def callUDF(udfName: String, cols: Column*): Column = call_function(udfName, cols: _*) @@ -8356,7 +8356,6 @@ object functions { * @since 3.2.0 */ @scala.annotation.varargs - @deprecated("Use call_function") def call_udf(udfName: String, cols: Column*): Column = call_function(udfName, cols: _*) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org