{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/pulls/7","id":46617216,"html_url":"https://github.com/bigpetstore/bigpetstore-flink/pull/7","diff_url":"https://github.com/bigpetstore/bigpetstore-flink/pull/7.diff","patch_url":"https://github.com/bigpetstore/bigpetstore-flink/pull/7.patch","issue_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/issues/7","number":7,"state":"open","locked":false,"title":"Added outputformat prototype","user":{"login":"mbalassi","id":5990983,"avatar_url":"https://avatars.githubusercontent.com/u/5990983?v=3","gravatar_id":"","url":"https://api.github.com/users/mbalassi","html_url":"https://github.com/mbalassi","followers_url":"https://api.github.com/users/mbalassi/followers","following_url":"https://api.github.com/users/mbalassi/following{/other_user}","gists_url":"https://api.github.com/users/mbalassi/gists{/gist_id}","starred_url":"https://api.github.com/users/mbalassi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbalassi/subscriptions","organizations_url":"https://api.github.com/users/mbalassi/orgs","repos_url":"https://api.github.com/users/mbalassi/repos","events_url":"https://api.github.com/users/mbalassi/events{/privacy}","received_events_url":"https://api.github.com/users/mbalassi/received_events","type":"User","site_admin":false},"body":"Flink's outputformats depend on the `toString` method of your classes. As you do not have those implemented you need a custom `OutputFormat` to get a readable output. I have implemented a solution that is reusable for batch programs instead of the easy way out. :)","created_at":"2015-10-02T09:30:10Z","updated_at":"2015-10-02T09:30:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/pulls/7/commits","review_comments_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/pulls/7/comments","review_comment_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/issues/7/comments","statuses_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/statuses/a06c7ae9e33f38a36560cf3c755abaa027d26c82","head":{"label":"mbalassi:outputformat","ref":"outputformat","sha":"a06c7ae9e33f38a36560cf3c755abaa027d26c82","user":{"login":"mbalassi","id":5990983,"avatar_url":"https://avatars.githubusercontent.com/u/5990983?v=3","gravatar_id":"","url":"https://api.github.com/users/mbalassi","html_url":"https://github.com/mbalassi","followers_url":"https://api.github.com/users/mbalassi/followers","following_url":"https://api.github.com/users/mbalassi/following{/other_user}","gists_url":"https://api.github.com/users/mbalassi/gists{/gist_id}","starred_url":"https://api.github.com/users/mbalassi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbalassi/subscriptions","organizations_url":"https://api.github.com/users/mbalassi/orgs","repos_url":"https://api.github.com/users/mbalassi/repos","events_url":"https://api.github.com/users/mbalassi/events{/privacy}","received_events_url":"https://api.github.com/users/mbalassi/received_events","type":"User","site_admin":false},"repo":{"id":43541582,"name":"bigpetstore-flink","full_name":"mbalassi/bigpetstore-flink","owner":{"login":"mbalassi","id":5990983,"avatar_url":"https://avatars.githubusercontent.com/u/5990983?v=3","gravatar_id":"","url":"https://api.github.com/users/mbalassi","html_url":"https://github.com/mbalassi","followers_url":"https://api.github.com/users/mbalassi/followers","following_url":"https://api.github.com/users/mbalassi/following{/other_user}","gists_url":"https://api.github.com/users/mbalassi/gists{/gist_id}","starred_url":"https://api.github.com/users/mbalassi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbalassi/subscriptions","organizations_url":"https://api.github.com/users/mbalassi/orgs","repos_url":"https://api.github.com/users/mbalassi/repos","events_url":"https://api.github.com/users/mbalassi/events{/privacy}","received_events_url":"https://api.github.com/users/mbalassi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbalassi/bigpetstore-flink","description":"","fork":true,"url":"https://api.github.com/repos/mbalassi/bigpetstore-flink","forks_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/forks","keys_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/teams","hooks_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/hooks","issue_events_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/issues/events{/number}","events_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/events","assignees_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/assignees{/user}","branches_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/branches{/branch}","tags_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/tags","blobs_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/statuses/{sha}","languages_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/languages","stargazers_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/stargazers","contributors_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/contributors","subscribers_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/subscribers","subscription_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/subscription","commits_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/contents/{+path}","compare_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/merges","archive_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/downloads","issues_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/issues{/number}","pulls_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/pulls{/number}","milestones_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/milestones{/number}","notifications_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/labels{/name}","releases_url":"https://api.github.com/repos/mbalassi/bigpetstore-flink/releases{/id}","created_at":"2015-10-02T07:56:19Z","updated_at":"2015-10-02T07:56:20Z","pushed_at":"2015-10-02T09:27:16Z","git_url":"git://github.com/mbalassi/bigpetstore-flink.git","ssh_url":"git@github.com:mbalassi/bigpetstore-flink.git","clone_url":"https://github.com/mbalassi/bigpetstore-flink.git","svn_url":"https://github.com/mbalassi/bigpetstore-flink","homepage":null,"size":213,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bigpetstore:master","ref":"master","sha":"42702a506134b1f7bbd4421ec7cdb3e0939e4523","user":{"login":"bigpetstore","id":13544258,"avatar_url":"https://avatars.githubusercontent.com/u/13544258?v=3","gravatar_id":"","url":"https://api.github.com/users/bigpetstore","html_url":"https://github.com/bigpetstore","followers_url":"https://api.github.com/users/bigpetstore/followers","following_url":"https://api.github.com/users/bigpetstore/following{/other_user}","gists_url":"https://api.github.com/users/bigpetstore/gists{/gist_id}","starred_url":"https://api.github.com/users/bigpetstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigpetstore/subscriptions","organizations_url":"https://api.github.com/users/bigpetstore/orgs","repos_url":"https://api.github.com/users/bigpetstore/repos","events_url":"https://api.github.com/users/bigpetstore/events{/privacy}","received_events_url":"https://api.github.com/users/bigpetstore/received_events","type":"Organization","site_admin":false},"repo":{"id":40403965,"name":"bigpetstore-flink","full_name":"bigpetstore/bigpetstore-flink","owner":{"login":"bigpetstore","id":13544258,"avatar_url":"https://avatars.githubusercontent.com/u/13544258?v=3","gravatar_id":"","url":"https://api.github.com/users/bigpetstore","html_url":"https://github.com/bigpetstore","followers_url":"https://api.github.com/users/bigpetstore/followers","following_url":"https://api.github.com/users/bigpetstore/following{/other_user}","gists_url":"https://api.github.com/users/bigpetstore/gists{/gist_id}","starred_url":"https://api.github.com/users/bigpetstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigpetstore/subscriptions","organizations_url":"https://api.github.com/users/bigpetstore/orgs","repos_url":"https://api.github.com/users/bigpetstore/repos","events_url":"https://api.github.com/users/bigpetstore/events{/privacy}","received_events_url":"https://api.github.com/users/bigpetstore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bigpetstore/bigpetstore-flink","description":"","fork":false,"url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink","forks_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/forks","keys_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/teams","hooks_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/hooks","issue_events_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/issues/events{/number}","events_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/events","assignees_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/assignees{/user}","branches_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/branches{/branch}","tags_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/tags","blobs_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/statuses/{sha}","languages_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/languages","stargazers_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/stargazers","contributors_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/contributors","subscribers_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/subscribers","subscription_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/subscription","commits_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/contents/{+path}","compare_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/merges","archive_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/downloads","issues_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/issues{/number}","pulls_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/pulls{/number}","milestones_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/milestones{/number}","notifications_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/labels{/name}","releases_url":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/releases{/id}","created_at":"2015-08-08T13:38:00Z","updated_at":"2015-10-02T07:56:14Z","pushed_at":"2015-09-12T23:48:40Z","git_url":"git://github.com/bigpetstore/bigpetstore-flink.git","ssh_url":"git@github.com:bigpetstore/bigpetstore-flink.git","clone_url":"https://github.com/bigpetstore/bigpetstore-flink.git","svn_url":"https://github.com/bigpetstore/bigpetstore-flink","homepage":null,"size":213,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/pulls/7"},"html":{"href":"https://github.com/bigpetstore/bigpetstore-flink/pull/7"},"issue":{"href":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/issues/7"},"comments":{"href":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/bigpetstore/bigpetstore-flink/statuses/a06c7ae9e33f38a36560cf3c755abaa027d26c82"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":52,"changed_files":1}}