Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-20778][SQL] Implement array_intersect function. #18010

Conversation

ericvandenbergfb-zz
Copy link

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.

Implement array_intersect UDF for intersecting first array with set of arrays.
@ericvandenbergfb-zz ericvandenbergfb-zz changed the title [SPARK-20778][SQL] Implement array_inetrsect function. [SPARK-20778][SQL] Implement array_intersect function. May 17, 2017
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@srowen
Copy link
Member

srowen commented May 20, 2017

Per comment in the JIRA, I don't think this should be added.

@srowen srowen mentioned this pull request Jun 7, 2017
@asfgit asfgit closed this in b771fed Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants