GitHub user ericvandenbergfb opened a pull request:

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

    [SPARK-20778][SQL] Implement array_inetrsect function.

    Implement array_intersect UDF for intersecting first array with set of 
arrays.
    
    ## What changes were proposed in this pull request?
    
    Implement a function array_intersect that computes the intersection of 
first array and remaining arrays.  Similar to hive implementation of array 
intersect.
    
    ## How was this patch tested?
    
    Added unit tests to validate eval and code gen logic.
    Performed testing using spark-shell with similar tests to hive array 
intersect.


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

    $ git pull https://github.com/ericvandenbergfb/spark 
spark.array_intersect.udf

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

    https://github.com/apache/spark/pull/18010.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 #18010
    
----
commit a13edcde385fd6bae83fa1d2ad4999c72456acc3
Author: Eric Vandenberg <ericvandenb...@fb.com>
Date:   2017-05-16T23:45:29Z

    [SPARK-20778][SQL] Implement array_inetrsect function.
    
    Implement array_intersect UDF for intersecting first array with set of 
arrays.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to