Skip to content

Commit e72cef0

Browse files
lockwobrnemccarthy
authored andcommitted
[SQL] [DOCS] updated the documentation for explode
the syntax was incorrect in the example in explode Author: lockwobr <lockwobr@gmail.com> Closes apache#6943 from lockwobr/master and squashes the following commits: 3d864d1 [lockwobr] updated the documentation for explode (cherry picked from commit 4f7fbef) Signed-off-by: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
1 parent e6d9a51 commit e72cef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ class DataFrame private[sql](
999999
* columns of the input row are implicitly joined with each value that is output by the function.
10001000
*
10011001
* {{{
1002-
* df.explode("words", "word")(words: String => words.split(" "))
1002+
* df.explode("words", "word"){words: String => words.split(" ")}
10031003
* }}}
10041004
* @group dfops
10051005
* @since 1.3.0

0 commit comments

Comments
 (0)