{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/15122","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/15122/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/15122/comments","events_url":"https://api.github.com/repos/apache/spark/issues/15122/events","html_url":"https://github.com/apache/spark/pull/15122","id":177537454,"number":15122,"title":"[SPARK-17569] Make StructuredStreaming FileStreamSource batch generation faster","user":{"login":"brkyvz","id":5243515,"avatar_url":"https://avatars.githubusercontent.com/u/5243515?v=3","gravatar_id":"","url":"https://api.github.com/users/brkyvz","html_url":"https://github.com/brkyvz","followers_url":"https://api.github.com/users/brkyvz/followers","following_url":"https://api.github.com/users/brkyvz/following{/other_user}","gists_url":"https://api.github.com/users/brkyvz/gists{/gist_id}","starred_url":"https://api.github.com/users/brkyvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brkyvz/subscriptions","organizations_url":"https://api.github.com/users/brkyvz/orgs","repos_url":"https://api.github.com/users/brkyvz/repos","events_url":"https://api.github.com/users/brkyvz/events{/privacy}","received_events_url":"https://api.github.com/users/brkyvz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-09-16T23:05:23Z","updated_at":"2016-09-19T19:37:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/15122","html_url":"https://github.com/apache/spark/pull/15122","diff_url":"https://github.com/apache/spark/pull/15122.diff","patch_url":"https://github.com/apache/spark/pull/15122.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nWhile getting the batch for a `FileStreamSource` in StructuredStreaming, we know which files we must take specifically. We already have verified that they exist, and have committed them to a metadata log. When creating the FileSourceRelation however for an incremental execution, the code checks the existence of every single file once again!\r\n\r\nWhen you have 100,000s of files in a folder, creating the first batch takes 2 hours+ when working with S3! This PR disables that check\r\n\r\n\r\n## How was this patch tested?\r\n\r\nAdded a unit test to `FileStreamSource`."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/248099650","html_url":"https://github.com/apache/spark/pull/15122#issuecomment-248099650","issue_url":"https://api.github.com/repos/apache/spark/issues/15122","id":248099650,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T19:37:46Z","updated_at":"2016-09-19T19:37:46Z","body":"Merged build finished. Test PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}