{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/presto/issues/4594","repository_url":"https://api.github.com/repos/facebook/presto","labels_url":"https://api.github.com/repos/facebook/presto/issues/4594/labels{/name}","comments_url":"https://api.github.com/repos/facebook/presto/issues/4594/comments","events_url":"https://api.github.com/repos/facebook/presto/issues/4594/events","html_url":"https://github.com/facebook/presto/pull/4594","id":135160758,"number":4594,"title":"Fix bug in CTAS when temporary directory is not used","user":{"login":"haozhun","id":2020503,"avatar_url":"https://avatars.githubusercontent.com/u/2020503?v=3","gravatar_id":"","url":"https://api.github.com/users/haozhun","html_url":"https://github.com/haozhun","followers_url":"https://api.github.com/users/haozhun/followers","following_url":"https://api.github.com/users/haozhun/following{/other_user}","gists_url":"https://api.github.com/users/haozhun/gists{/gist_id}","starred_url":"https://api.github.com/users/haozhun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haozhun/subscriptions","organizations_url":"https://api.github.com/users/haozhun/orgs","repos_url":"https://api.github.com/users/haozhun/repos","events_url":"https://api.github.com/users/haozhun/events{/privacy}","received_events_url":"https://api.github.com/users/haozhun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/presto/labels/CLA%20Signed","name":"CLA Signed","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"dain","id":58298,"avatar_url":"https://avatars.githubusercontent.com/u/58298?v=3","gravatar_id":"","url":"https://api.github.com/users/dain","html_url":"https://github.com/dain","followers_url":"https://api.github.com/users/dain/followers","following_url":"https://api.github.com/users/dain/following{/other_user}","gists_url":"https://api.github.com/users/dain/gists{/gist_id}","starred_url":"https://api.github.com/users/dain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dain/subscriptions","organizations_url":"https://api.github.com/users/dain/orgs","repos_url":"https://api.github.com/users/dain/repos","events_url":"https://api.github.com/users/dain/events{/privacy}","received_events_url":"https://api.github.com/users/dain/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-21T04:53:38Z","updated_at":"2016-02-22T20:21:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/presto/pulls/4594","html_url":"https://github.com/facebook/presto/pull/4594","diff_url":"https://github.com/facebook/presto/pull/4594.diff","patch_url":"https://github.com/facebook/presto/pull/4594.patch"},"body":"When writing to a new table in Hive connector, it asserts that the target directory doesn't already exist for every partition (or once in the case of unpartitioned table), which is doomed to fail when a temporary directory is not used. This check is now removed when it is detected that temporary directory is\r\nnot used.\r\n\r\nTest is not added because Hive integration test doesn't simulate multiple workers, and Hive integration smoke test doesn't exist for S3.\r\n\r\nFixes #4531 "},"comment":{"url":"https://api.github.com/repos/facebook/presto/issues/comments/187367902","html_url":"https://github.com/facebook/presto/pull/4594#issuecomment-187367902","issue_url":"https://api.github.com/repos/facebook/presto/issues/4594","id":187367902,"user":{"login":"dain","id":58298,"avatar_url":"https://avatars.githubusercontent.com/u/58298?v=3","gravatar_id":"","url":"https://api.github.com/users/dain","html_url":"https://github.com/dain","followers_url":"https://api.github.com/users/dain/followers","following_url":"https://api.github.com/users/dain/following{/other_user}","gists_url":"https://api.github.com/users/dain/gists{/gist_id}","starred_url":"https://api.github.com/users/dain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dain/subscriptions","organizations_url":"https://api.github.com/users/dain/orgs","repos_url":"https://api.github.com/users/dain/repos","events_url":"https://api.github.com/users/dain/events{/privacy}","received_events_url":"https://api.github.com/users/dain/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T20:21:57Z","updated_at":"2016-02-22T20:21:57Z","body":"Looks good"}}