{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/21477","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/21477/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/21477/comments","events_url":"https://api.github.com/repos/apache/spark/issues/21477/events","html_url":"https://github.com/apache/spark/pull/21477","id":328323053,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxODkzMTg4","number":21477,"title":"[SPARK-24396] [SS] [PYSPARK] Add Structured Streaming ForeachWriter for python","user":{"login":"tdas","id":663212,"node_id":"MDQ6VXNlcjY2MzIxMg==","avatar_url":"https://avatars1.githubusercontent.com/u/663212?v=4","gravatar_id":"","url":"https://api.github.com/users/tdas","html_url":"https://github.com/tdas","followers_url":"https://api.github.com/users/tdas/followers","following_url":"https://api.github.com/users/tdas/following{/other_user}","gists_url":"https://api.github.com/users/tdas/gists{/gist_id}","starred_url":"https://api.github.com/users/tdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdas/subscriptions","organizations_url":"https://api.github.com/users/tdas/orgs","repos_url":"https://api.github.com/users/tdas/repos","events_url":"https://api.github.com/users/tdas/events{/privacy}","received_events_url":"https://api.github.com/users/tdas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-05-31T22:47:16Z","updated_at":"2018-06-15T01:52:33Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/21477","html_url":"https://github.com/apache/spark/pull/21477","diff_url":"https://github.com/apache/spark/pull/21477.diff","patch_url":"https://github.com/apache/spark/pull/21477.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis PR adds `foreach` for streaming queries in Python. Users will be able to specify their processing logic in two different ways.\r\n- As a function that takes a row as input.\r\n- As an object that has methods `open`, `process`, and `close` methods.\r\n\r\nSee the python docs in this PR for more details.\r\n\r\n\r\n## How was this patch tested?\r\nAdded java and python unit tests"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/397489941","html_url":"https://github.com/apache/spark/pull/21477#issuecomment-397489941","issue_url":"https://api.github.com/repos/apache/spark/issues/21477","id":397489941,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzQ4OTk0MQ==","user":{"login":"AmplabJenkins","id":4031291,"node_id":"MDQ6VXNlcjQwMzEyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4031291?v=4","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":"2018-06-15T01:52:33Z","updated_at":"2018-06-15T01:52:33Z","author_association":"NONE","body":"Merged build finished. Test FAILed."}}
{"actor":{"display_login":"AmplabJenkins"}}