You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2017/03/18 04:55:12 UTC

spark git commit: [SQL][MINOR] Fix scaladoc for UDFRegistration

Repository: spark
Updated Branches:
  refs/heads/master 3783539d7 -> 6326d406b


[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 <ja...@japila.pl>

Closes #17337 from jaceklaskowski/udfregistration-scaladoc.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/6326d406
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/6326d406
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/6326d406

Branch: refs/heads/master
Commit: 6326d406b98a34e9cc8afa6743b23ee1cced8611
Parents: 3783539
Author: Jacek Laskowski <ja...@japila.pl>
Authored: Fri Mar 17 21:55:10 2017 -0700
Committer: Reynold Xin <rx...@databricks.com>
Committed: Fri Mar 17 21:55:10 2017 -0700

----------------------------------------------------------------------
 .../src/main/scala/org/apache/spark/sql/UDFRegistration.scala  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/6326d406/sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala
----------------------------------------------------------------------
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 7abfa4e..a576733 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.
  *


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org