GitHub user mgaido91 opened a pull request: https://github.com/apache/spark/pull/21028
[SPARK-23922][SQL] Add arrays_overlap function ## What changes were proposed in this pull request? The PR adds the function `arrays_overlap`. This function returns `true` if the input arrays contain a non-null common element; if not, it returns `null` if any of the arrays contains a `null` element, `false` otherwise. ## 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-23922 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21028.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 #21028 ---- commit e5ebdad41645c0058f1cd2788f6cc1d4158ff2e9 Author: Marco Gaido <marcogaido91@...> Date: 2018-04-10T13:49:53Z [SPARK-23922][SQL] Add arrays_overlap function ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org