Skip to content

Commit 6326d40

Browse files
jaceklaskowskirxin
authored andcommitted
[SQL][MINOR] Fix scaladoc for UDFRegistration
## What changes were proposed in this pull request? Fix scaladoc for UDFRegistration ## How was this patch tested? local build Author: Jacek Laskowski <jacek@japila.pl> Closes apache#17337 from jaceklaskowski/udfregistration-scaladoc.
1 parent 3783539 commit 6326d40

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ import org.apache.spark.sql.types.{DataType, DataTypes}
3636
import org.apache.spark.util.Utils
3737

3838
/**
39-
* Functions for registering user-defined functions. Use `SQLContext.udf` to access this.
39+
* Functions for registering user-defined functions. Use `SparkSession.udf` to access this:
40+
*
41+
* {{{
42+
* spark.udf
43+
* }}}
4044
*
4145
* @note The user-defined functions must be deterministic.
4246
*

0 commit comments

Comments
 (0)