Repository: spark
Updated Branches:
  refs/heads/master 05974f943 -> 49720906c


[SPARK-23932][SQL][FOLLOW-UP] Fix an example of zip_with function.

## What changes were proposed in this pull request?

This is a follow-up pr of #22031 which added `zip_with` function to fix an 
example.

## How was this patch tested?

Existing tests.

Closes #22194 from ueshin/issues/SPARK-23932/fix_examples.

Authored-by: Takuya UESHIN <ues...@databricks.com>
Signed-off-by: hyukjinkwon <gurwls...@apache.org>


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

Branch: refs/heads/master
Commit: 49720906c9b2f36ead366b06568ddfaddb5cd791
Parents: 05974f9
Author: Takuya UESHIN <ues...@databricks.com>
Authored: Thu Aug 23 14:17:29 2018 +0800
Committer: hyukjinkwon <gurwls...@apache.org>
Committed: Thu Aug 23 14:17:29 2018 +0800

----------------------------------------------------------------------
 .../spark/sql/catalyst/expressions/higherOrderFunctions.scala      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/49720906/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/higherOrderFunctions.scala
----------------------------------------------------------------------
diff --git 
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/higherOrderFunctions.scala
 
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/higherOrderFunctions.scala
index 3e0621d..9f2e84a 100644
--- 
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/higherOrderFunctions.scala
+++ 
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/higherOrderFunctions.scala
@@ -789,7 +789,7 @@ case class MapZipWith(left: Expression, right: Expression, 
function: Expression)
   examples = """
     Examples:
       > SELECT _FUNC_(array(1, 2, 3), array('a', 'b', 'c'), (x, y) -> (y, x));
-       array(('a', 1), ('b', 3), ('c', 5))
+       array(('a', 1), ('b', 2), ('c', 3))
       > SELECT _FUNC_(array(1, 2), array(3, 4), (x, y) -> x + y));
        array(4, 6)
       > SELECT _FUNC_(array('a', 'b', 'c'), array('d', 'e', 'f'), (x, y) -> 
concat(x, y));


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

Reply via email to