{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12320","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12320/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12320/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12320/events","html_url":"https://github.com/apache/spark/pull/12320","id":147621295,"number":12320,"title":"[SPARK-14555] First cut of Python API for Structured Streaming","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,"milestone":null,"comments":31,"created_at":"2016-04-12T03:23:23Z","updated_at":"2016-04-18T23:31:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12320","html_url":"https://github.com/apache/spark/pull/12320","diff_url":"https://github.com/apache/spark/pull/12320.diff","patch_url":"https://github.com/apache/spark/pull/12320.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis patch provides a first cut of python APIs for structured streaming. This PR provides the new classes:\r\n - ContinuousQuery\r\n - Trigger\r\n - ProcessingTime\r\nin pyspark under `pyspark.sql.streaming`.\r\n\r\nIn addition, it contains the new methods added under:\r\n -  `DataFrameWriter`\r\n     a) `startStream`\r\n     b) `trigger`\r\n     c) `queryName`\r\n\r\n -  `DataFrameReader`\r\n     a) `stream`\r\n\r\n - `DataFrame`\r\n    a) `isStreaming`\r\n\r\nThis PR doesn't contain all methods exposed for `ContinuousQuery`, for example:\r\n - `exception`\r\n - `sourceStatuses`\r\n - `sinkStatus`\r\n\r\nThey may be added in a follow up. \r\n\r\nThis PR also contains some very minor doc fixes in the Scala side.\r\n\r\n## How was this patch tested?\r\n\r\nPython doc tests\r\n\r\nTODO:\r\n - [ ] verify Python docs look good\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/211630251","html_url":"https://github.com/apache/spark/pull/12320#issuecomment-211630251","issue_url":"https://api.github.com/repos/apache/spark/issues/12320","id":211630251,"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-04-18T23:31:18Z","updated_at":"2016-04-18T23:31:18Z","body":"Merged build finished. Test PASSed."}}