{"action":"opened","issue":{"url":"https://api.github.com/repos/OData/WebApi/issues/941","repository_url":"https://api.github.com/repos/OData/WebApi","labels_url":"https://api.github.com/repos/OData/WebApi/issues/941/labels{/name}","comments_url":"https://api.github.com/repos/OData/WebApi/issues/941/comments","events_url":"https://api.github.com/repos/OData/WebApi/issues/941/events","html_url":"https://github.com/OData/WebApi/issues/941","id":214686454,"number":941,"title":"Sum/Average functions do not work for byte data type","user":{"login":"isahrnddev6","id":25666270,"avatar_url":"https://avatars1.githubusercontent.com/u/25666270?v=3","gravatar_id":"","url":"https://api.github.com/users/isahrnddev6","html_url":"https://github.com/isahrnddev6","followers_url":"https://api.github.com/users/isahrnddev6/followers","following_url":"https://api.github.com/users/isahrnddev6/following{/other_user}","gists_url":"https://api.github.com/users/isahrnddev6/gists{/gist_id}","starred_url":"https://api.github.com/users/isahrnddev6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isahrnddev6/subscriptions","organizations_url":"https://api.github.com/users/isahrnddev6/orgs","repos_url":"https://api.github.com/users/isahrnddev6/repos","events_url":"https://api.github.com/users/isahrnddev6/events{/privacy}","received_events_url":"https://api.github.com/users/isahrnddev6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-16T12:20:14Z","updated_at":"2017-03-16T12:20:14Z","closed_at":null,"body":"Applying sum or average function for a Byte property does not work.\r\n\r\n### Assemblies affected\r\nMicrosoft.AspNet.OData 5.9.1\r\n\r\n### Reproduce steps\r\nSent a request that contains a sum or average function on an entity for a Byte property:\r\n?$apply=aggregate(Amount with sum as AmountSum) or \r\n?$apply=aggregate(Amount with average as AmountAverage) \r\n\r\n### Expected result\r\nThe function result should be returned.\r\n\r\n### Actual result\r\nMicrosoft.OData.Core.ODataException is thrown. \r\n\r\n### Additional details\r\n*Optional, details of the root cause if known. Delete this section if you have no additional details to add.*\r\n"}}
{"actor":{"display_login":"isahrnddev6"}}