[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 #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 <ueshin@databricks.com> Closes #21630 from ueshin/issues/SPARK-23931/fup1.
This commit is contained in:
parent
f596ebe4d3
commit
6e0596e263
|
@ -3539,6 +3539,7 @@ object functions {
|
|||
* @group collection_funcs
|
||||
* @since 2.4.0
|
||||
*/
|
||||
@scala.annotation.varargs
|
||||
def arrays_zip(e: Column*): Column = withExpr { ArraysZip(e.map(_.expr)) }
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue