You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sa...@apache.org on 2015/06/23 19:50:08 UTC

spark git commit: [SQL] [DOCS] updated the documentation for explode

Repository: spark
Updated Branches:
  refs/heads/master 0f92be5b5 -> 4f7fbefb8


[SQL] [DOCS] updated the documentation for explode

the syntax was incorrect in the example in explode

Author: lockwobr <lo...@gmail.com>

Closes #6943 from lockwobr/master and squashes the following commits:

3d864d1 [lockwobr] updated the documentation for explode


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

Branch: refs/heads/master
Commit: 4f7fbefb8db56ecaab66bb0ac2ab124416fefe58
Parents: 0f92be5
Author: lockwobr <lo...@gmail.com>
Authored: Wed Jun 24 02:48:56 2015 +0900
Committer: Kousuke Saruta <sa...@oss.nttdata.co.jp>
Committed: Wed Jun 24 02:48:56 2015 +0900

----------------------------------------------------------------------
 sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/4f7fbefb/sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala b/sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
index 492a332..f3f0f53 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
@@ -1049,7 +1049,7 @@ class DataFrame private[sql](
    * columns of the input row are implicitly joined with each value that is output by the function.
    *
    * {{{
-   *   df.explode("words", "word")(words: String => words.split(" "))
+   *   df.explode("words", "word"){words: String => words.split(" ")}
    * }}}
    * @group dfops
    * @since 1.3.0


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