{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/bottleimp/spark-avro/pulls/1","id":58828951,"html_url":"https://github.com/bottleimp/spark-avro/pull/1","diff_url":"https://github.com/bottleimp/spark-avro/pull/1.diff","patch_url":"https://github.com/bottleimp/spark-avro/pull/1.patch","issue_url":"https://api.github.com/repos/bottleimp/spark-avro/issues/1","number":1,"state":"closed","locked":false,"title":"replace try-exception in buildScan","user":{"login":"flyjy","id":8905326,"avatar_url":"https://avatars.githubusercontent.com/u/8905326?v=3","gravatar_id":"","url":"https://api.github.com/users/flyjy","html_url":"https://github.com/flyjy","followers_url":"https://api.github.com/users/flyjy/followers","following_url":"https://api.github.com/users/flyjy/following{/other_user}","gists_url":"https://api.github.com/users/flyjy/gists{/gist_id}","starred_url":"https://api.github.com/users/flyjy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyjy/subscriptions","organizations_url":"https://api.github.com/users/flyjy/orgs","repos_url":"https://api.github.com/users/flyjy/repos","events_url":"https://api.github.com/users/flyjy/events{/privacy}","received_events_url":"https://api.github.com/users/flyjy/received_events","type":"User","site_admin":false},"body":"# Remove try-catch in BuildScan method\r\n\r\nI have noticed the https://github.com/databricks/spark-avro/pull/109 very useful for our projects. This PR replaces the relative heavy \"try-catch\" with the \"match\" statement, to be more efficient. ","created_at":"2016-02-09T23:58:00Z","updated_at":"2016-02-10T08:42:05Z","closed_at":"2016-02-10T08:42:05Z","merged_at":"2016-02-10T08:42:05Z","merge_commit_sha":"a68d315cda9972049e48c4c8258c38893e088fad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bottleimp/spark-avro/pulls/1/commits","review_comments_url":"https://api.github.com/repos/bottleimp/spark-avro/pulls/1/comments","review_comment_url":"https://api.github.com/repos/bottleimp/spark-avro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bottleimp/spark-avro/issues/1/comments","statuses_url":"https://api.github.com/repos/bottleimp/spark-avro/statuses/1a0779bafa8da9a6d0d5c6a4b54c8f75a116ffe4","head":{"label":"flyjy:extraField","ref":"extraField","sha":"1a0779bafa8da9a6d0d5c6a4b54c8f75a116ffe4","user":{"login":"flyjy","id":8905326,"avatar_url":"https://avatars.githubusercontent.com/u/8905326?v=3","gravatar_id":"","url":"https://api.github.com/users/flyjy","html_url":"https://github.com/flyjy","followers_url":"https://api.github.com/users/flyjy/followers","following_url":"https://api.github.com/users/flyjy/following{/other_user}","gists_url":"https://api.github.com/users/flyjy/gists{/gist_id}","starred_url":"https://api.github.com/users/flyjy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyjy/subscriptions","organizations_url":"https://api.github.com/users/flyjy/orgs","repos_url":"https://api.github.com/users/flyjy/repos","events_url":"https://api.github.com/users/flyjy/events{/privacy}","received_events_url":"https://api.github.com/users/flyjy/received_events","type":"User","site_admin":false},"repo":{"id":51389419,"name":"spark-avro","full_name":"flyjy/spark-avro","owner":{"login":"flyjy","id":8905326,"avatar_url":"https://avatars.githubusercontent.com/u/8905326?v=3","gravatar_id":"","url":"https://api.github.com/users/flyjy","html_url":"https://github.com/flyjy","followers_url":"https://api.github.com/users/flyjy/followers","following_url":"https://api.github.com/users/flyjy/following{/other_user}","gists_url":"https://api.github.com/users/flyjy/gists{/gist_id}","starred_url":"https://api.github.com/users/flyjy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyjy/subscriptions","organizations_url":"https://api.github.com/users/flyjy/orgs","repos_url":"https://api.github.com/users/flyjy/repos","events_url":"https://api.github.com/users/flyjy/events{/privacy}","received_events_url":"https://api.github.com/users/flyjy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flyjy/spark-avro","description":"Avro support for Spark, SQL, and DataFrames","fork":true,"url":"https://api.github.com/repos/flyjy/spark-avro","forks_url":"https://api.github.com/repos/flyjy/spark-avro/forks","keys_url":"https://api.github.com/repos/flyjy/spark-avro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flyjy/spark-avro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flyjy/spark-avro/teams","hooks_url":"https://api.github.com/repos/flyjy/spark-avro/hooks","issue_events_url":"https://api.github.com/repos/flyjy/spark-avro/issues/events{/number}","events_url":"https://api.github.com/repos/flyjy/spark-avro/events","assignees_url":"https://api.github.com/repos/flyjy/spark-avro/assignees{/user}","branches_url":"https://api.github.com/repos/flyjy/spark-avro/branches{/branch}","tags_url":"https://api.github.com/repos/flyjy/spark-avro/tags","blobs_url":"https://api.github.com/repos/flyjy/spark-avro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flyjy/spark-avro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flyjy/spark-avro/git/refs{/sha}","trees_url":"https://api.github.com/repos/flyjy/spark-avro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flyjy/spark-avro/statuses/{sha}","languages_url":"https://api.github.com/repos/flyjy/spark-avro/languages","stargazers_url":"https://api.github.com/repos/flyjy/spark-avro/stargazers","contributors_url":"https://api.github.com/repos/flyjy/spark-avro/contributors","subscribers_url":"https://api.github.com/repos/flyjy/spark-avro/subscribers","subscription_url":"https://api.github.com/repos/flyjy/spark-avro/subscription","commits_url":"https://api.github.com/repos/flyjy/spark-avro/commits{/sha}","git_commits_url":"https://api.github.com/repos/flyjy/spark-avro/git/commits{/sha}","comments_url":"https://api.github.com/repos/flyjy/spark-avro/comments{/number}","issue_comment_url":"https://api.github.com/repos/flyjy/spark-avro/issues/comments{/number}","contents_url":"https://api.github.com/repos/flyjy/spark-avro/contents/{+path}","compare_url":"https://api.github.com/repos/flyjy/spark-avro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flyjy/spark-avro/merges","archive_url":"https://api.github.com/repos/flyjy/spark-avro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flyjy/spark-avro/downloads","issues_url":"https://api.github.com/repos/flyjy/spark-avro/issues{/number}","pulls_url":"https://api.github.com/repos/flyjy/spark-avro/pulls{/number}","milestones_url":"https://api.github.com/repos/flyjy/spark-avro/milestones{/number}","notifications_url":"https://api.github.com/repos/flyjy/spark-avro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flyjy/spark-avro/labels{/name}","releases_url":"https://api.github.com/repos/flyjy/spark-avro/releases{/id}","deployments_url":"https://api.github.com/repos/flyjy/spark-avro/deployments","created_at":"2016-02-09T18:37:57Z","updated_at":"2016-02-09T18:37:59Z","pushed_at":"2016-02-09T23:44:42Z","git_url":"git://github.com/flyjy/spark-avro.git","ssh_url":"git@github.com:flyjy/spark-avro.git","clone_url":"https://github.com/flyjy/spark-avro.git","svn_url":"https://github.com/flyjy/spark-avro","homepage":"http://databricks.com/","size":242,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"bottleimp:feature/specific-avro-schema","ref":"feature/specific-avro-schema","sha":"1558a75571a99b866310a2897b451c9645b49899","user":{"login":"bottleimp","id":5363203,"avatar_url":"https://avatars.githubusercontent.com/u/5363203?v=3","gravatar_id":"","url":"https://api.github.com/users/bottleimp","html_url":"https://github.com/bottleimp","followers_url":"https://api.github.com/users/bottleimp/followers","following_url":"https://api.github.com/users/bottleimp/following{/other_user}","gists_url":"https://api.github.com/users/bottleimp/gists{/gist_id}","starred_url":"https://api.github.com/users/bottleimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bottleimp/subscriptions","organizations_url":"https://api.github.com/users/bottleimp/orgs","repos_url":"https://api.github.com/users/bottleimp/repos","events_url":"https://api.github.com/users/bottleimp/events{/privacy}","received_events_url":"https://api.github.com/users/bottleimp/received_events","type":"User","site_admin":false},"repo":{"id":40634883,"name":"spark-avro","full_name":"bottleimp/spark-avro","owner":{"login":"bottleimp","id":5363203,"avatar_url":"https://avatars.githubusercontent.com/u/5363203?v=3","gravatar_id":"","url":"https://api.github.com/users/bottleimp","html_url":"https://github.com/bottleimp","followers_url":"https://api.github.com/users/bottleimp/followers","following_url":"https://api.github.com/users/bottleimp/following{/other_user}","gists_url":"https://api.github.com/users/bottleimp/gists{/gist_id}","starred_url":"https://api.github.com/users/bottleimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bottleimp/subscriptions","organizations_url":"https://api.github.com/users/bottleimp/orgs","repos_url":"https://api.github.com/users/bottleimp/repos","events_url":"https://api.github.com/users/bottleimp/events{/privacy}","received_events_url":"https://api.github.com/users/bottleimp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bottleimp/spark-avro","description":"Using Avro data format in Spark, SQL, and DataFrames","fork":true,"url":"https://api.github.com/repos/bottleimp/spark-avro","forks_url":"https://api.github.com/repos/bottleimp/spark-avro/forks","keys_url":"https://api.github.com/repos/bottleimp/spark-avro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bottleimp/spark-avro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bottleimp/spark-avro/teams","hooks_url":"https://api.github.com/repos/bottleimp/spark-avro/hooks","issue_events_url":"https://api.github.com/repos/bottleimp/spark-avro/issues/events{/number}","events_url":"https://api.github.com/repos/bottleimp/spark-avro/events","assignees_url":"https://api.github.com/repos/bottleimp/spark-avro/assignees{/user}","branches_url":"https://api.github.com/repos/bottleimp/spark-avro/branches{/branch}","tags_url":"https://api.github.com/repos/bottleimp/spark-avro/tags","blobs_url":"https://api.github.com/repos/bottleimp/spark-avro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bottleimp/spark-avro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bottleimp/spark-avro/git/refs{/sha}","trees_url":"https://api.github.com/repos/bottleimp/spark-avro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bottleimp/spark-avro/statuses/{sha}","languages_url":"https://api.github.com/repos/bottleimp/spark-avro/languages","stargazers_url":"https://api.github.com/repos/bottleimp/spark-avro/stargazers","contributors_url":"https://api.github.com/repos/bottleimp/spark-avro/contributors","subscribers_url":"https://api.github.com/repos/bottleimp/spark-avro/subscribers","subscription_url":"https://api.github.com/repos/bottleimp/spark-avro/subscription","commits_url":"https://api.github.com/repos/bottleimp/spark-avro/commits{/sha}","git_commits_url":"https://api.github.com/repos/bottleimp/spark-avro/git/commits{/sha}","comments_url":"https://api.github.com/repos/bottleimp/spark-avro/comments{/number}","issue_comment_url":"https://api.github.com/repos/bottleimp/spark-avro/issues/comments{/number}","contents_url":"https://api.github.com/repos/bottleimp/spark-avro/contents/{+path}","compare_url":"https://api.github.com/repos/bottleimp/spark-avro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bottleimp/spark-avro/merges","archive_url":"https://api.github.com/repos/bottleimp/spark-avro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bottleimp/spark-avro/downloads","issues_url":"https://api.github.com/repos/bottleimp/spark-avro/issues{/number}","pulls_url":"https://api.github.com/repos/bottleimp/spark-avro/pulls{/number}","milestones_url":"https://api.github.com/repos/bottleimp/spark-avro/milestones{/number}","notifications_url":"https://api.github.com/repos/bottleimp/spark-avro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bottleimp/spark-avro/labels{/name}","releases_url":"https://api.github.com/repos/bottleimp/spark-avro/releases{/id}","deployments_url":"https://api.github.com/repos/bottleimp/spark-avro/deployments","created_at":"2015-08-13T02:31:05Z","updated_at":"2016-01-18T06:56:18Z","pushed_at":"2016-02-10T08:42:04Z","git_url":"git://github.com/bottleimp/spark-avro.git","ssh_url":"git@github.com:bottleimp/spark-avro.git","clone_url":"https://github.com/bottleimp/spark-avro.git","svn_url":"https://github.com/bottleimp/spark-avro","homepage":"http://databricks.com/","size":241,"stargazers_count":0,"watchers_count":0,"language":"Scala","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"}},"_links":{"self":{"href":"https://api.github.com/repos/bottleimp/spark-avro/pulls/1"},"html":{"href":"https://github.com/bottleimp/spark-avro/pull/1"},"issue":{"href":"https://api.github.com/repos/bottleimp/spark-avro/issues/1"},"comments":{"href":"https://api.github.com/repos/bottleimp/spark-avro/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/bottleimp/spark-avro/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/bottleimp/spark-avro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bottleimp/spark-avro/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/bottleimp/spark-avro/statuses/1a0779bafa8da9a6d0d5c6a4b54c8f75a116ffe4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bottleimp","id":5363203,"avatar_url":"https://avatars.githubusercontent.com/u/5363203?v=3","gravatar_id":"","url":"https://api.github.com/users/bottleimp","html_url":"https://github.com/bottleimp","followers_url":"https://api.github.com/users/bottleimp/followers","following_url":"https://api.github.com/users/bottleimp/following{/other_user}","gists_url":"https://api.github.com/users/bottleimp/gists{/gist_id}","starred_url":"https://api.github.com/users/bottleimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bottleimp/subscriptions","organizations_url":"https://api.github.com/users/bottleimp/orgs","repos_url":"https://api.github.com/users/bottleimp/repos","events_url":"https://api.github.com/users/bottleimp/events{/privacy}","received_events_url":"https://api.github.com/users/bottleimp/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":7,"deletions":9,"changed_files":1}}