{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/sql-agg/issues/22","labels_url":"https://api.github.com/repos/dimagi/sql-agg/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/sql-agg/issues/22/comments","events_url":"https://api.github.com/repos/dimagi/sql-agg/issues/22/events","html_url":"https://github.com/dimagi/sql-agg/pull/22","id":120721994,"number":22,"title":"coerce averages to floats","user":{"login":"czue","id":66555,"avatar_url":"https://avatars.githubusercontent.com/u/66555?v=3","gravatar_id":"","url":"https://api.github.com/users/czue","html_url":"https://github.com/czue","followers_url":"https://api.github.com/users/czue/followers","following_url":"https://api.github.com/users/czue/following{/other_user}","gists_url":"https://api.github.com/users/czue/gists{/gist_id}","starred_url":"https://api.github.com/users/czue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czue/subscriptions","organizations_url":"https://api.github.com/users/czue/orgs","repos_url":"https://api.github.com/users/czue/repos","events_url":"https://api.github.com/users/czue/events{/privacy}","received_events_url":"https://api.github.com/users/czue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-07T08:22:10Z","updated_at":"2015-12-07T15:31:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/sql-agg/pulls/22","html_url":"https://github.com/dimagi/sql-agg/pull/22","diff_url":"https://github.com/dimagi/sql-agg/pull/22.diff","patch_url":"https://github.com/dimagi/sql-agg/pull/22.patch"},"body":"@snopoke i'm not sure about this change.\r\n\r\nthis was an alternate approach to https://github.com/dimagi/commcare-hq/pull/9435 to solve http://manage.dimagi.com/default.asp?188706\r\n\r\nfor whatever reason sqlalchemy spits out strings for `.avg` which seems weird, but the other approach seemed much lower impact. feel free to merge or close depending on what you think about this."},"comment":{"url":"https://api.github.com/repos/dimagi/sql-agg/issues/comments/162558363","html_url":"https://github.com/dimagi/sql-agg/pull/22#issuecomment-162558363","issue_url":"https://api.github.com/repos/dimagi/sql-agg/issues/22","id":162558363,"user":{"login":"snopoke","id":249606,"avatar_url":"https://avatars.githubusercontent.com/u/249606?v=3","gravatar_id":"","url":"https://api.github.com/users/snopoke","html_url":"https://github.com/snopoke","followers_url":"https://api.github.com/users/snopoke/followers","following_url":"https://api.github.com/users/snopoke/following{/other_user}","gists_url":"https://api.github.com/users/snopoke/gists{/gist_id}","starred_url":"https://api.github.com/users/snopoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snopoke/subscriptions","organizations_url":"https://api.github.com/users/snopoke/orgs","repos_url":"https://api.github.com/users/snopoke/repos","events_url":"https://api.github.com/users/snopoke/events{/privacy}","received_events_url":"https://api.github.com/users/snopoke/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T15:31:00Z","updated_at":"2015-12-07T15:31:00Z","body":"Not making much progress with the build but I think fine to merge if you can run the tests locally."}}