Skip to content

Commit 6e0596e

Browse files
ueshingatorsmile
authored andcommitted
[SPARK-23931][SQL][FOLLOW-UP] Make arrays_zip in function.scala @scala.annotation.varargs.
## What changes were proposed in this pull request? This is a follow-up pr of apache#21045 which added `arrays_zip`. The `arrays_zip` in functions.scala should've been `scala.annotation.varargs`. This pr makes it `scala.annotation.varargs`. ## How was this patch tested? Existing tests. Author: Takuya UESHIN <[email protected]> Closes apache#21630 from ueshin/issues/SPARK-23931/fup1.
1 parent f596ebe commit 6e0596e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3539,6 +3539,7 @@ object functions {
35393539
* @group collection_funcs
35403540
* @since 2.4.0
35413541
*/
3542+
@scala.annotation.varargs
35423543
def arrays_zip(e: Column*): Column = withExpr { ArraysZip(e.map(_.expr)) }
35433544

35443545
//////////////////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)