{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/21102","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/21102/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/21102/comments","events_url":"https://api.github.com/repos/apache/spark/issues/21102/events","html_url":"https://github.com/apache/spark/pull/21102","id":315546439,"number":21102,"title":"[SPARK-23913][SQL] Add array_intersect function ","user":{"login":"kiszk","id":1315079,"avatar_url":"https://avatars2.githubusercontent.com/u/1315079?v=4","gravatar_id":"","url":"https://api.github.com/users/kiszk","html_url":"https://github.com/kiszk","followers_url":"https://api.github.com/users/kiszk/followers","following_url":"https://api.github.com/users/kiszk/following{/other_user}","gists_url":"https://api.github.com/users/kiszk/gists{/gist_id}","starred_url":"https://api.github.com/users/kiszk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiszk/subscriptions","organizations_url":"https://api.github.com/users/kiszk/orgs","repos_url":"https://api.github.com/users/kiszk/repos","events_url":"https://api.github.com/users/kiszk/events{/privacy}","received_events_url":"https://api.github.com/users/kiszk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-18T16:09:20Z","updated_at":"2018-04-21T07:02:26Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/21102","html_url":"https://github.com/apache/spark/pull/21102","diff_url":"https://github.com/apache/spark/pull/21102.diff","patch_url":"https://github.com/apache/spark/pull/21102.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThe PR adds the SQL function `array_intersect`. The behavior of the function is based on Presto's one.\r\n\r\nThis function returns returns an array of the elements in the intersection of array1 and array2.\r\n\r\nNote: The order of elements in the result is not defined.\r\n\r\n## How was this patch tested?\r\n\r\nAdded UTs\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/383273324","html_url":"https://github.com/apache/spark/pull/21102#issuecomment-383273324","issue_url":"https://api.github.com/repos/apache/spark/issues/21102","id":383273324,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars1.githubusercontent.com/u/8108735?v=4","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2018-04-21T07:02:26Z","updated_at":"2018-04-21T07:02:26Z","author_association":"NONE","body":"**[Test build #89671 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/89671/testReport)** for PR 21102 at commit [`cd56b7d`](https://github.com/apache/spark/commit/cd56b7dcecf8228cb92ac40e028ac35d028065f5).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds the following public classes _(experimental)_:\n  * `abstract class ArraySetUtils extends BinaryExpression with ExpectsInputTypes `"}}
{"actor":{"display_login":"SparkQA"}}