Skip to content

Commit 4f7fbef

Browse files
lockwobrsarutak
authored andcommitted
[SQL] [DOCS] updated the documentation for explode
the syntax was incorrect in the example in explode Author: lockwobr <[email protected]> Closes #6943 from lockwobr/master and squashes the following commits: 3d864d1 [lockwobr] updated the documentation for explode
1 parent 0f92be5 commit 4f7fbef

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
@@ -1049,7 +1049,7 @@ class DataFrame private[sql](
10491049
* columns of the input row are implicitly joined with each value that is output by the function.
10501050
*
10511051
* {{{
1052-
* df.explode("words", "word")(words: String => words.split(" "))
1052+
* df.explode("words", "word"){words: String => words.split(" ")}
10531053
* }}}
10541054
* @group dfops
10551055
* @since 1.3.0

0 commit comments

Comments
 (0)