Repository: spark
Updated Branches:
  refs/heads/branch-1.4 77cb1d5ed -> 27693e175


[SQL] [DOCS] updated the documentation for explode

the syntax was incorrect in the example in explode

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

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

3d864d1 [lockwobr] updated the documentation for explode

(cherry picked from commit 4f7fbefb8db56ecaab66bb0ac2ab124416fefe58)
Signed-off-by: Kousuke Saruta <saru...@oss.nttdata.co.jp>


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

Branch: refs/heads/branch-1.4
Commit: 27693e175715a7d6901ec79ab510b883a4cb0fb2
Parents: 77cb1d5
Author: lockwobr <lockw...@gmail.com>
Authored: Wed Jun 24 02:48:56 2015 +0900
Committer: Kousuke Saruta <saru...@oss.nttdata.co.jp>
Committed: Wed Jun 24 02:51:36 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/27693e17/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 2a01824..29bba18 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
@@ -999,7 +999,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-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to