spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject spark git commit: [SQL][MINOR] Fix scaladoc for UDFRegistration
Date Sat, 18 Mar 2017 04:55:19 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-2.1 5fb70831b -> 780f6060c


[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.

(cherry picked from commit 6326d406b98a34e9cc8afa6743b23ee1cced8611)
Signed-off-by: Reynold Xin <rxin@databricks.com>


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

Branch: refs/heads/branch-2.1
Commit: 780f6060c815561d1a82c8d6d698ac60f7605d09
Parents: 5fb7083
Author: Jacek Laskowski <jacek@japila.pl>
Authored: Fri Mar 17 21:55:10 2017 -0700
Committer: Reynold Xin <rxin@databricks.com>
Committed: Fri Mar 17 21:55:17 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/780f6060/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


Mime
View raw message