{"action":"opened","number":190,"pull_request":{"url":"https://api.github.com/repos/databricks/spark-avro/pulls/190","id":93044921,"html_url":"https://github.com/databricks/spark-avro/pull/190","diff_url":"https://github.com/databricks/spark-avro/pull/190.diff","patch_url":"https://github.com/databricks/spark-avro/pull/190.patch","issue_url":"https://api.github.com/repos/databricks/spark-avro/issues/190","number":190,"state":"open","locked":false,"title":"Fix ClassCastException","user":{"login":"tgibson11","id":3578666,"avatar_url":"https://avatars.githubusercontent.com/u/3578666?v=3","gravatar_id":"","url":"https://api.github.com/users/tgibson11","html_url":"https://github.com/tgibson11","followers_url":"https://api.github.com/users/tgibson11/followers","following_url":"https://api.github.com/users/tgibson11/following{/other_user}","gists_url":"https://api.github.com/users/tgibson11/gists{/gist_id}","starred_url":"https://api.github.com/users/tgibson11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgibson11/subscriptions","organizations_url":"https://api.github.com/users/tgibson11/orgs","repos_url":"https://api.github.com/users/tgibson11/repos","events_url":"https://api.github.com/users/tgibson11/events{/privacy}","received_events_url":"https://api.github.com/users/tgibson11/received_events","type":"User","site_admin":false},"body":"My Avro object has a field defined as java.util.Map.  In that case, item ends up being an instance of MapWrapper, which cannot be cast to a HashMap.  Casting to Map works fine, and presumably would still work in any case that you could cast to a HashMap.  I see nothing here that would specifically require the HashMap implementation.","created_at":"2016-11-09T21:47:00Z","updated_at":"2016-11-09T21:47:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/databricks/spark-avro/pulls/190/commits","review_comments_url":"https://api.github.com/repos/databricks/spark-avro/pulls/190/comments","review_comment_url":"https://api.github.com/repos/databricks/spark-avro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/databricks/spark-avro/issues/190/comments","statuses_url":"https://api.github.com/repos/databricks/spark-avro/statuses/9d966240daf9d7c0e8bd804158d5ba5093495351","head":{"label":"tgibson11:patch-1","ref":"patch-1","sha":"9d966240daf9d7c0e8bd804158d5ba5093495351","user":{"login":"tgibson11","id":3578666,"avatar_url":"https://avatars.githubusercontent.com/u/3578666?v=3","gravatar_id":"","url":"https://api.github.com/users/tgibson11","html_url":"https://github.com/tgibson11","followers_url":"https://api.github.com/users/tgibson11/followers","following_url":"https://api.github.com/users/tgibson11/following{/other_user}","gists_url":"https://api.github.com/users/tgibson11/gists{/gist_id}","starred_url":"https://api.github.com/users/tgibson11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgibson11/subscriptions","organizations_url":"https://api.github.com/users/tgibson11/orgs","repos_url":"https://api.github.com/users/tgibson11/repos","events_url":"https://api.github.com/users/tgibson11/events{/privacy}","received_events_url":"https://api.github.com/users/tgibson11/received_events","type":"User","site_admin":false},"repo":{"id":73322478,"name":"spark-avro","full_name":"tgibson11/spark-avro","owner":{"login":"tgibson11","id":3578666,"avatar_url":"https://avatars.githubusercontent.com/u/3578666?v=3","gravatar_id":"","url":"https://api.github.com/users/tgibson11","html_url":"https://github.com/tgibson11","followers_url":"https://api.github.com/users/tgibson11/followers","following_url":"https://api.github.com/users/tgibson11/following{/other_user}","gists_url":"https://api.github.com/users/tgibson11/gists{/gist_id}","starred_url":"https://api.github.com/users/tgibson11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgibson11/subscriptions","organizations_url":"https://api.github.com/users/tgibson11/orgs","repos_url":"https://api.github.com/users/tgibson11/repos","events_url":"https://api.github.com/users/tgibson11/events{/privacy}","received_events_url":"https://api.github.com/users/tgibson11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgibson11/spark-avro","description":"Avro support for Spark, SQL, and DataFrames","fork":true,"url":"https://api.github.com/repos/tgibson11/spark-avro","forks_url":"https://api.github.com/repos/tgibson11/spark-avro/forks","keys_url":"https://api.github.com/repos/tgibson11/spark-avro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgibson11/spark-avro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgibson11/spark-avro/teams","hooks_url":"https://api.github.com/repos/tgibson11/spark-avro/hooks","issue_events_url":"https://api.github.com/repos/tgibson11/spark-avro/issues/events{/number}","events_url":"https://api.github.com/repos/tgibson11/spark-avro/events","assignees_url":"https://api.github.com/repos/tgibson11/spark-avro/assignees{/user}","branches_url":"https://api.github.com/repos/tgibson11/spark-avro/branches{/branch}","tags_url":"https://api.github.com/repos/tgibson11/spark-avro/tags","blobs_url":"https://api.github.com/repos/tgibson11/spark-avro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgibson11/spark-avro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgibson11/spark-avro/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgibson11/spark-avro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgibson11/spark-avro/statuses/{sha}","languages_url":"https://api.github.com/repos/tgibson11/spark-avro/languages","stargazers_url":"https://api.github.com/repos/tgibson11/spark-avro/stargazers","contributors_url":"https://api.github.com/repos/tgibson11/spark-avro/contributors","subscribers_url":"https://api.github.com/repos/tgibson11/spark-avro/subscribers","subscription_url":"https://api.github.com/repos/tgibson11/spark-avro/subscription","commits_url":"https://api.github.com/repos/tgibson11/spark-avro/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgibson11/spark-avro/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgibson11/spark-avro/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgibson11/spark-avro/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgibson11/spark-avro/contents/{+path}","compare_url":"https://api.github.com/repos/tgibson11/spark-avro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgibson11/spark-avro/merges","archive_url":"https://api.github.com/repos/tgibson11/spark-avro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgibson11/spark-avro/downloads","issues_url":"https://api.github.com/repos/tgibson11/spark-avro/issues{/number}","pulls_url":"https://api.github.com/repos/tgibson11/spark-avro/pulls{/number}","milestones_url":"https://api.github.com/repos/tgibson11/spark-avro/milestones{/number}","notifications_url":"https://api.github.com/repos/tgibson11/spark-avro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgibson11/spark-avro/labels{/name}","releases_url":"https://api.github.com/repos/tgibson11/spark-avro/releases{/id}","deployments_url":"https://api.github.com/repos/tgibson11/spark-avro/deployments","created_at":"2016-11-09T21:25:17Z","updated_at":"2016-11-09T21:25:18Z","pushed_at":"2016-11-09T21:41:25Z","git_url":"git://github.com/tgibson11/spark-avro.git","ssh_url":"git@github.com:tgibson11/spark-avro.git","clone_url":"https://github.com/tgibson11/spark-avro.git","svn_url":"https://github.com/tgibson11/spark-avro","homepage":"http://databricks.com/","size":1633,"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":"databricks:master","ref":"master","sha":"16ed688fba09b52c370884c2598571a450c29e0b","user":{"login":"databricks","id":4998052,"avatar_url":"https://avatars.githubusercontent.com/u/4998052?v=3","gravatar_id":"","url":"https://api.github.com/users/databricks","html_url":"https://github.com/databricks","followers_url":"https://api.github.com/users/databricks/followers","following_url":"https://api.github.com/users/databricks/following{/other_user}","gists_url":"https://api.github.com/users/databricks/gists{/gist_id}","starred_url":"https://api.github.com/users/databricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databricks/subscriptions","organizations_url":"https://api.github.com/users/databricks/orgs","repos_url":"https://api.github.com/users/databricks/repos","events_url":"https://api.github.com/users/databricks/events{/privacy}","received_events_url":"https://api.github.com/users/databricks/received_events","type":"Organization","site_admin":false},"repo":{"id":24648767,"name":"spark-avro","full_name":"databricks/spark-avro","owner":{"login":"databricks","id":4998052,"avatar_url":"https://avatars.githubusercontent.com/u/4998052?v=3","gravatar_id":"","url":"https://api.github.com/users/databricks","html_url":"https://github.com/databricks","followers_url":"https://api.github.com/users/databricks/followers","following_url":"https://api.github.com/users/databricks/following{/other_user}","gists_url":"https://api.github.com/users/databricks/gists{/gist_id}","starred_url":"https://api.github.com/users/databricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databricks/subscriptions","organizations_url":"https://api.github.com/users/databricks/orgs","repos_url":"https://api.github.com/users/databricks/repos","events_url":"https://api.github.com/users/databricks/events{/privacy}","received_events_url":"https://api.github.com/users/databricks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/databricks/spark-avro","description":"Avro support for Spark, SQL, and DataFrames","fork":false,"url":"https://api.github.com/repos/databricks/spark-avro","forks_url":"https://api.github.com/repos/databricks/spark-avro/forks","keys_url":"https://api.github.com/repos/databricks/spark-avro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/databricks/spark-avro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/databricks/spark-avro/teams","hooks_url":"https://api.github.com/repos/databricks/spark-avro/hooks","issue_events_url":"https://api.github.com/repos/databricks/spark-avro/issues/events{/number}","events_url":"https://api.github.com/repos/databricks/spark-avro/events","assignees_url":"https://api.github.com/repos/databricks/spark-avro/assignees{/user}","branches_url":"https://api.github.com/repos/databricks/spark-avro/branches{/branch}","tags_url":"https://api.github.com/repos/databricks/spark-avro/tags","blobs_url":"https://api.github.com/repos/databricks/spark-avro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/databricks/spark-avro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/databricks/spark-avro/git/refs{/sha}","trees_url":"https://api.github.com/repos/databricks/spark-avro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/databricks/spark-avro/statuses/{sha}","languages_url":"https://api.github.com/repos/databricks/spark-avro/languages","stargazers_url":"https://api.github.com/repos/databricks/spark-avro/stargazers","contributors_url":"https://api.github.com/repos/databricks/spark-avro/contributors","subscribers_url":"https://api.github.com/repos/databricks/spark-avro/subscribers","subscription_url":"https://api.github.com/repos/databricks/spark-avro/subscription","commits_url":"https://api.github.com/repos/databricks/spark-avro/commits{/sha}","git_commits_url":"https://api.github.com/repos/databricks/spark-avro/git/commits{/sha}","comments_url":"https://api.github.com/repos/databricks/spark-avro/comments{/number}","issue_comment_url":"https://api.github.com/repos/databricks/spark-avro/issues/comments{/number}","contents_url":"https://api.github.com/repos/databricks/spark-avro/contents/{+path}","compare_url":"https://api.github.com/repos/databricks/spark-avro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/databricks/spark-avro/merges","archive_url":"https://api.github.com/repos/databricks/spark-avro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/databricks/spark-avro/downloads","issues_url":"https://api.github.com/repos/databricks/spark-avro/issues{/number}","pulls_url":"https://api.github.com/repos/databricks/spark-avro/pulls{/number}","milestones_url":"https://api.github.com/repos/databricks/spark-avro/milestones{/number}","notifications_url":"https://api.github.com/repos/databricks/spark-avro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/databricks/spark-avro/labels{/name}","releases_url":"https://api.github.com/repos/databricks/spark-avro/releases{/id}","deployments_url":"https://api.github.com/repos/databricks/spark-avro/deployments","created_at":"2014-09-30T17:50:58Z","updated_at":"2016-11-05T20:04:01Z","pushed_at":"2016-10-15T01:04:09Z","git_url":"git://github.com/databricks/spark-avro.git","ssh_url":"git@github.com:databricks/spark-avro.git","clone_url":"https://github.com/databricks/spark-avro.git","svn_url":"https://github.com/databricks/spark-avro","homepage":"http://databricks.com/","size":1633,"stargazers_count":270,"watchers_count":270,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":71,"forks":149,"open_issues":71,"watchers":270,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/databricks/spark-avro/pulls/190"},"html":{"href":"https://github.com/databricks/spark-avro/pull/190"},"issue":{"href":"https://api.github.com/repos/databricks/spark-avro/issues/190"},"comments":{"href":"https://api.github.com/repos/databricks/spark-avro/issues/190/comments"},"review_comments":{"href":"https://api.github.com/repos/databricks/spark-avro/pulls/190/comments"},"review_comment":{"href":"https://api.github.com/repos/databricks/spark-avro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/databricks/spark-avro/pulls/190/commits"},"statuses":{"href":"https://api.github.com/repos/databricks/spark-avro/statuses/9d966240daf9d7c0e8bd804158d5ba5093495351"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"tgibson11"}}