{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/luigi/issues/1685","repository_url":"https://api.github.com/repos/spotify/luigi","labels_url":"https://api.github.com/repos/spotify/luigi/issues/1685/labels{/name}","comments_url":"https://api.github.com/repos/spotify/luigi/issues/1685/comments","events_url":"https://api.github.com/repos/spotify/luigi/issues/1685/events","html_url":"https://github.com/spotify/luigi/issues/1685","id":154131233,"number":1685,"title":"Salesforce does not download all results for large result set","user":{"login":"dacort","id":1512,"avatar_url":"https://avatars.githubusercontent.com/u/1512?v=3","gravatar_id":"","url":"https://api.github.com/users/dacort","html_url":"https://github.com/dacort","followers_url":"https://api.github.com/users/dacort/followers","following_url":"https://api.github.com/users/dacort/following{/other_user}","gists_url":"https://api.github.com/users/dacort/gists{/gist_id}","starred_url":"https://api.github.com/users/dacort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dacort/subscriptions","organizations_url":"https://api.github.com/users/dacort/orgs","repos_url":"https://api.github.com/users/dacort/repos","events_url":"https://api.github.com/users/dacort/events{/privacy}","received_events_url":"https://api.github.com/users/dacort/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-10T23:47:04Z","updated_at":"2016-05-11T15:55:12Z","closed_at":null,"body":"For particularly large result sets, Salesforce will return multiple result IDs for a single batch. \r\n\r\nHowever, in [`get_batch_results`](https://github.com/spotify/luigi/blob/master/luigi/contrib/salesforce.py#L489), only the first result ID is being returned. The code should utilize `ET.findall` to return a list of result IDs and download each of those to append to the output file.\r\n\r\nI'm planning on submitting a PR for this in the next couple of days."},"comment":{"url":"https://api.github.com/repos/spotify/luigi/issues/comments/218503843","html_url":"https://github.com/spotify/luigi/issues/1685#issuecomment-218503843","issue_url":"https://api.github.com/repos/spotify/luigi/issues/1685","id":218503843,"user":{"login":"dacort","id":1512,"avatar_url":"https://avatars.githubusercontent.com/u/1512?v=3","gravatar_id":"","url":"https://api.github.com/users/dacort","html_url":"https://github.com/dacort","followers_url":"https://api.github.com/users/dacort/followers","following_url":"https://api.github.com/users/dacort/following{/other_user}","gists_url":"https://api.github.com/users/dacort/gists{/gist_id}","starred_url":"https://api.github.com/users/dacort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dacort/subscriptions","organizations_url":"https://api.github.com/users/dacort/orgs","repos_url":"https://api.github.com/users/dacort/repos","events_url":"https://api.github.com/users/dacort/events{/privacy}","received_events_url":"https://api.github.com/users/dacort/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T15:55:12Z","updated_at":"2016-05-11T15:55:12Z","body":"No problem @dlstadther! Happy to be able to contribute. :)"}}