GitHub user kiszk opened a pull request: https://github.com/apache/spark/pull/21061
[SPARK-23914][SQL] Add array_union function ## What changes were proposed in this pull request? The PR adds the SQL function `array_union`. The behavior of the function is based on Presto's one. This function returns returns an array of the elements in the union of array1 and array2. Note: The order of elements in the result is not defined. ## How was this patch tested? Added UTs You can merge this pull request into a Git repository by running: $ git pull https://github.com/kiszk/spark SPARK-23914 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21061.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 #21061 ---- commit 6ff73b5f0d24bf970d707a6399ab846273bb8443 Author: Kazuaki Ishizaki <ishizaki@...> Date: 2018-04-13T06:08:06Z initial commit commit 660427104b0a4f1830a3307147664a58f1fa08dc Author: Kazuaki Ishizaki <ishizaki@...> Date: 2018-04-13T06:20:34Z update description ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org