{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/16238","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/16238/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/16238/comments","events_url":"https://api.github.com/repos/apache/spark/issues/16238/events","html_url":"https://github.com/apache/spark/pull/16238","id":194704180,"number":16238,"title":"[SPARK-18811] StreamSource resolution should happen in stream execution thread","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":4,"created_at":"2016-12-09T21:44:41Z","updated_at":"2016-12-09T22:02:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/16238","html_url":"https://github.com/apache/spark/pull/16238","diff_url":"https://github.com/apache/spark/pull/16238.diff","patch_url":"https://github.com/apache/spark/pull/16238.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nWhen you start a stream, if we are trying to resolve the source of the stream, for example if we need to resolve partition columns, this could take a long time. This long execution time should not block the main thread where `query.start()` was called on. It should happen in the stream execution thread possibly before starting any triggers.\r\n\r\n## How was this patch tested?\r\n\r\nUnit test added. Made sure test fails with no code changes.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/266135519","html_url":"https://github.com/apache/spark/pull/16238#issuecomment-266135519","issue_url":"https://api.github.com/repos/apache/spark/issues/16238","id":266135519,"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-12-09T22:02:47Z","updated_at":"2016-12-09T22:02:47Z","body":"**[Test build #69936 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/69936/consoleFull)** for PR 16238 at commit [`e6d1e25`](https://github.com/apache/spark/commit/e6d1e251097cc5a71ef67dec995f5cf86f977891)."}}
{"actor":{"display_login":"SparkQA"}}