diff options
author | lockwobr <lockwobr@gmail.com> | 2015-06-24 02:48:56 +0900 |
---|---|---|
committer | Kousuke Saruta <sarutak@oss.nttdata.co.jp> | 2015-06-24 02:48:56 +0900 |
commit | 4f7fbefb8db56ecaab66bb0ac2ab124416fefe58 (patch) | |
tree | ade4e5173ca75c86c1170a439cbdd94db8eb1934 | |
parent | 0f92be5b5f017b593bd29d4da7e89aad2b3adac2 (diff) | |
download | spark-4f7fbefb8db56ecaab66bb0ac2ab124416fefe58.tar.gz spark-4f7fbefb8db56ecaab66bb0ac2ab124416fefe58.tar.bz2 spark-4f7fbefb8db56ecaab66bb0ac2ab124416fefe58.zip |
[SQL] [DOCS] updated the documentation for explode
the syntax was incorrect in the example in explode
Author: lockwobr <lockwobr@gmail.com>
Closes #6943 from lockwobr/master and squashes the following commits:
3d864d1 [lockwobr] updated the documentation for explode
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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 492a3321bc..f3f0f53053 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 |