diff options
author | Jacek Laskowski <jacek@japila.pl> | 2017-03-17 21:55:10 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2017-03-17 21:55:10 -0700 |
commit | 6326d406b98a34e9cc8afa6743b23ee1cced8611 (patch) | |
tree | f9dce4e74278b8f61ee504e43ed77ef61438bc4f | |
parent | 3783539d7ab83a2a632a9f35ca66ae39d01c28b6 (diff) | |
download | spark-6326d406b98a34e9cc8afa6743b23ee1cced8611.tar.gz spark-6326d406b98a34e9cc8afa6743b23ee1cced8611.tar.bz2 spark-6326d406b98a34e9cc8afa6743b23ee1cced8611.zip |
[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 #17337 from jaceklaskowski/udfregistration-scaladoc.
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala b/sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala index 7abfa4ea37..a57673334c 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala @@ -36,7 +36,11 @@ import org.apache.spark.sql.types.{DataType, DataTypes} import org.apache.spark.util.Utils /** - * Functions for registering user-defined functions. Use `SQLContext.udf` to access this. + * Functions for registering user-defined functions. Use `SparkSession.udf` to access this: + * + * {{{ + * spark.udf + * }}} * * @note The user-defined functions must be deterministic. * |