Repository: spark
Updated Branches:
  refs/heads/master f596ebe4d -> 6e0596e26


[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 <ues...@databricks.com>

Closes #21630 from ueshin/issues/SPARK-23931/fup1.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/6e0596e2
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/6e0596e2
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/6e0596e2

Branch: refs/heads/master
Commit: 6e0596e2639117d7a0a58b644b0600086f45c7f9
Parents: f596ebe
Author: Takuya UESHIN <ues...@databricks.com>
Authored: Sun Jun 24 23:56:47 2018 -0700
Committer: Xiao Li <gatorsm...@gmail.com>
Committed: Sun Jun 24 23:56:47 2018 -0700

----------------------------------------------------------------------
 sql/core/src/main/scala/org/apache/spark/sql/functions.scala | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/6e0596e2/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/functions.scala 
b/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
index f792a6f..40c40e7 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
@@ -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)) }
 
   
//////////////////////////////////////////////////////////////////////////////////////////////


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to