{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/4434","labels_url":"https://api.github.com/repos/apache/spark/issues/4434/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/4434/comments","events_url":"https://api.github.com/repos/apache/spark/issues/4434/events","html_url":"https://github.com/apache/spark/pull/4434","id":56864611,"number":4434,"title":"[SPARK-5657][Examples][PySpark] Add PySpark Avro Output Format example","user":{"login":"staslos","id":8630557,"avatar_url":"https://avatars.githubusercontent.com/u/8630557?v=3","gravatar_id":"","url":"https://api.github.com/users/staslos","html_url":"https://github.com/staslos","followers_url":"https://api.github.com/users/staslos/followers","following_url":"https://api.github.com/users/staslos/following{/other_user}","gists_url":"https://api.github.com/users/staslos/gists{/gist_id}","starred_url":"https://api.github.com/users/staslos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staslos/subscriptions","organizations_url":"https://api.github.com/users/staslos/orgs","repos_url":"https://api.github.com/users/staslos/repos","events_url":"https://api.github.com/users/staslos/events{/privacy}","received_events_url":"https://api.github.com/users/staslos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T20:37:13Z","updated_at":"2015-02-06T20:42:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/4434","html_url":"https://github.com/apache/spark/pull/4434","diff_url":"https://github.com/apache/spark/pull/4434.diff","patch_url":"https://github.com/apache/spark/pull/4434.patch"},"body":"There is an Avro Input Format example that shows how to read Avro data in PySpark, but nothing shows how to write from PySpark to Avro. The main challenge, a Converter needs an Avro schema to build a record, but current Spark API doesn't provide a way to supply extra parameters to custom converters. Provided workaround is possible.\r\nhttps://issues.apache.org/jira/browse/SPARK-5657"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/73308637","html_url":"https://github.com/apache/spark/pull/4434#issuecomment-73308637","issue_url":"https://api.github.com/repos/apache/spark/issues/4434","id":73308637,"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":"2015-02-06T20:42:09Z","updated_at":"2015-02-06T20:42:09Z","body":"Can one of the admins verify this patch?"}}