{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/13451","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/13451/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/13451/comments","events_url":"https://api.github.com/repos/apache/spark/issues/13451/events","html_url":"https://github.com/apache/spark/pull/13451","id":158000400,"number":13451,"title":"[SPARK-15711][SQL] Ban CREATE TEMPORARY TABLE USING AS SELECT","user":{"login":"clockfly","id":2595532,"avatar_url":"https://avatars.githubusercontent.com/u/2595532?v=3","gravatar_id":"","url":"https://api.github.com/users/clockfly","html_url":"https://github.com/clockfly","followers_url":"https://api.github.com/users/clockfly/followers","following_url":"https://api.github.com/users/clockfly/following{/other_user}","gists_url":"https://api.github.com/users/clockfly/gists{/gist_id}","starred_url":"https://api.github.com/users/clockfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clockfly/subscriptions","organizations_url":"https://api.github.com/users/clockfly/orgs","repos_url":"https://api.github.com/users/clockfly/repos","events_url":"https://api.github.com/users/clockfly/events{/privacy}","received_events_url":"https://api.github.com/users/clockfly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-06-01T20:32:54Z","updated_at":"2016-06-02T07:12:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/13451","html_url":"https://github.com/apache/spark/pull/13451","diff_url":"https://github.com/apache/spark/pull/13451.diff","patch_url":"https://github.com/apache/spark/pull/13451.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis PR bans syntax like `CREATE TEMPORARY TABLE USING AS SELECT`\r\n\r\n`CREATE TEMPORARY TABLE ... USING ... AS ...` is not properly implemented, the temporary data is not cleaned up when the session exits. Before a full fix, we probably should ban this syntax.\r\n\r\nThis PR only impact syntax like `CREATE TEMPORARY TABLE ... USING ... AS ...`. \r\nOther syntax like `CREATE TEMPORARY TABLE .. USING ...` and `CREATE TABLE ... USING ...` are not impacted.\r\n\r\n## How was this patch tested?\r\n\r\nUnit test.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/223213587","html_url":"https://github.com/apache/spark/pull/13451#issuecomment-223213587","issue_url":"https://api.github.com/repos/apache/spark/issues/13451","id":223213587,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.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":"2016-06-02T07:12:38Z","updated_at":"2016-06-02T07:12:38Z","body":"**[Test build #59822 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/59822/consoleFull)** for PR 13451 at commit [`b7bb43d`](https://github.com/apache/spark/commit/b7bb43dadd71ea6c24f50eb24234a778c68a21df).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds no public classes."}}
{"actor":{"display_login":"SparkQA"}}