GitHub user mgaido91 opened a pull request:

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

    [SPARK-23917][SQL] Add array_max function

    ## What changes were proposed in this pull request?
    
    The PR adds the SQL function `array_max`. It takes an array as argument and 
returns the maximum value in it.
    
    ## How was this patch tested?
    
    added UTs


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

    $ git pull https://github.com/mgaido91/spark SPARK-23917

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

    https://github.com/apache/spark/pull/21024.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 #21024
    
----
commit 93c5b8a48806a4b4210ff67fcc157a2a79ab8eaa
Author: Marco Gaido <marcogaido91@...>
Date:   2018-04-10T11:12:40Z

    [SPARK-23917][SQL] Add array_max function

----


---

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

Reply via email to