Skip to content

Commit

Permalink
[SPARK-44131][SQL][FOLLOWUP] Revert the deprecation message
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
Revert the deprecation message changes

### Why are the changes needed?
to address #41687 (comment)

### 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 <ruifengz@apache.org>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
  • Loading branch information
zhengruifeng committed Jul 12, 2023
1 parent 6161bf4 commit 482497c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sql/core/src/main/scala/org/apache/spark/sql/functions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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: _*)

Expand All @@ -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: _*)

Expand Down

0 comments on commit 482497c

Please sign in to comment.