{"action":"created","issue":{"url":"https://api.github.com/repos/databricks/spark-redshift/issues/74","labels_url":"https://api.github.com/repos/databricks/spark-redshift/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/databricks/spark-redshift/issues/74/comments","events_url":"https://api.github.com/repos/databricks/spark-redshift/issues/74/events","html_url":"https://github.com/databricks/spark-redshift/pull/74","id":105005600,"number":74,"title":"Use a fresh temporary directory for each scan","user":{"login":"JoshRosen","id":50748,"avatar_url":"https://avatars.githubusercontent.com/u/50748?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshRosen","html_url":"https://github.com/JoshRosen","followers_url":"https://api.github.com/users/JoshRosen/followers","following_url":"https://api.github.com/users/JoshRosen/following{/other_user}","gists_url":"https://api.github.com/users/JoshRosen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshRosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshRosen/subscriptions","organizations_url":"https://api.github.com/users/JoshRosen/orgs","repos_url":"https://api.github.com/users/JoshRosen/repos","events_url":"https://api.github.com/users/JoshRosen/events{/privacy}","received_events_url":"https://api.github.com/users/JoshRosen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/databricks/spark-redshift/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/databricks/spark-redshift/milestones/1","html_url":"https://github.com/databricks/spark-redshift/milestones/0.5.0","labels_url":"https://api.github.com/repos/databricks/spark-redshift/milestones/1/labels","id":1271999,"number":1,"title":"0.5.0","description":"","creator":{"login":"JoshRosen","id":50748,"avatar_url":"https://avatars.githubusercontent.com/u/50748?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshRosen","html_url":"https://github.com/JoshRosen","followers_url":"https://api.github.com/users/JoshRosen/followers","following_url":"https://api.github.com/users/JoshRosen/following{/other_user}","gists_url":"https://api.github.com/users/JoshRosen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshRosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshRosen/subscriptions","organizations_url":"https://api.github.com/users/JoshRosen/orgs","repos_url":"https://api.github.com/users/JoshRosen/repos","events_url":"https://api.github.com/users/JoshRosen/events{/privacy}","received_events_url":"https://api.github.com/users/JoshRosen/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":16,"state":"open","created_at":"2015-08-25T18:03:39Z","updated_at":"2015-09-05T05:33:48Z","due_on":"2015-08-28T07:00:00Z","closed_at":null},"comments":4,"created_at":"2015-09-05T05:33:48Z","updated_at":"2015-09-08T17:40:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/databricks/spark-redshift/pulls/74","html_url":"https://github.com/databricks/spark-redshift/pull/74","diff_url":"https://github.com/databricks/spark-redshift/pull/74.diff","patch_url":"https://github.com/databricks/spark-redshift/pull/74.patch"},"body":"This patch fixes a bug where multiple scans of the same relation would end up sharing the same temporary directory in S3, causing them to overwrite each others' data. This, in turn, led to exceptions during query execution.\r\n\r\nThis patch fixes this bug by creating a fresh subdirectory inside of the temporary directory for each scan."},"comment":{"url":"https://api.github.com/repos/databricks/spark-redshift/issues/comments/138644687","html_url":"https://github.com/databricks/spark-redshift/pull/74#issuecomment-138644687","issue_url":"https://api.github.com/repos/databricks/spark-redshift/issues/74","id":138644687,"user":{"login":"JoshRosen","id":50748,"avatar_url":"https://avatars.githubusercontent.com/u/50748?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshRosen","html_url":"https://github.com/JoshRosen","followers_url":"https://api.github.com/users/JoshRosen/followers","following_url":"https://api.github.com/users/JoshRosen/following{/other_user}","gists_url":"https://api.github.com/users/JoshRosen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshRosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshRosen/subscriptions","organizations_url":"https://api.github.com/users/JoshRosen/orgs","repos_url":"https://api.github.com/users/JoshRosen/repos","events_url":"https://api.github.com/users/JoshRosen/events{/privacy}","received_events_url":"https://api.github.com/users/JoshRosen/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T17:40:06Z","updated_at":"2015-09-08T17:40:06Z","body":"Going to merge this now."}}