{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/18169","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/18169/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/18169/comments","events_url":"https://api.github.com/repos/apache/spark/issues/18169/events","html_url":"https://github.com/apache/spark/pull/18169","id":232712082,"number":18169,"title":"[SPARK-20941] [SQL] Fix SubqueryExec Reuse","user":{"login":"gatorsmile","id":11567269,"avatar_url":"https://avatars2.githubusercontent.com/u/11567269?v=3","gravatar_id":"","url":"https://api.github.com/users/gatorsmile","html_url":"https://github.com/gatorsmile","followers_url":"https://api.github.com/users/gatorsmile/followers","following_url":"https://api.github.com/users/gatorsmile/following{/other_user}","gists_url":"https://api.github.com/users/gatorsmile/gists{/gist_id}","starred_url":"https://api.github.com/users/gatorsmile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gatorsmile/subscriptions","organizations_url":"https://api.github.com/users/gatorsmile/orgs","repos_url":"https://api.github.com/users/gatorsmile/repos","events_url":"https://api.github.com/users/gatorsmile/events{/privacy}","received_events_url":"https://api.github.com/users/gatorsmile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-05-31T22:11:55Z","updated_at":"2017-06-01T09:05:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/18169","html_url":"https://github.com/apache/spark/pull/18169","diff_url":"https://github.com/apache/spark/pull/18169.diff","patch_url":"https://github.com/apache/spark/pull/18169.patch"},"body":"### What changes were proposed in this pull request?\r\nBefore this PR, Subquery reuse does not work. Below are three issues:\r\n- Subquery reuse does not work.  \r\n- It is sharing the same `SQLConf` (`spark.sql.exchange.reuse`) with the one for Exchange Reuse. \r\n- No test case covers the rule Subquery reuse. \r\n\r\nThis PR is to fix the above three issues. \r\n- Ignored the physical operator `SubqueryExec` when comparing two plans. \r\n- Added a dedicated conf `spark.sql.subqueries.reuse` for controlling Subquery Reuse\r\n- Added a test case for verifying the behavior\r\n\r\n### How was this patch tested?\r\nN/A"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/305434781","html_url":"https://github.com/apache/spark/pull/18169#issuecomment-305434781","issue_url":"https://api.github.com/repos/apache/spark/issues/18169","id":305434781,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars2.githubusercontent.com/u/8108735?v=3","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":"2017-06-01T09:05:35Z","updated_at":"2017-06-01T09:05:35Z","body":"**[Test build #77630 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/77630/testReport)** for PR 18169 at commit [`21b5c5b`](https://github.com/apache/spark/commit/21b5c5b33a1c872fa34946db1e248a101520257a).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds no public classes."}}
{"actor":{"display_login":"SparkQA"}}