GitHub user mn-mikke opened a pull request:

    https://github.com/apache/spark/pull/22017

    [SPARK-23938][SQL] Add map_zip_with function

    ## What changes were proposed in this pull request?
    
    This PR adds a new SQL function called ```map_zip_with```. It merges the 
two given maps into a single map by applying function to the pair of values 
with the same key. 
    
    ## How was this patch tested?
    
    Added new tests into:
    - DataFrameFunctionsSuite.scala
    - HigherOrderFunctionsSuite.scala


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mn-mikke/spark SPARK-23938

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22017.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22017
    
----
commit ef56011f03d8bae4634e5d3108e4d6502482383c
Author: Marek Novotny <mn.mikke@...>
Date:   2018-08-06T23:42:45Z

    [SPARK-23938][SQL] Add map_zip_with function

----


---

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

Reply via email to