{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/6736","labels_url":"https://api.github.com/repos/apache/spark/issues/6736/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/6736/comments","events_url":"https://api.github.com/repos/apache/spark/issues/6736/events","html_url":"https://github.com/apache/spark/pull/6736","id":86847732,"number":6736,"title":"[SPARK-8285] [SQL] CombineSum should be calculated as unlimited decimal first","user":{"login":"navis","id":809395,"avatar_url":"https://avatars.githubusercontent.com/u/809395?v=3","gravatar_id":"","url":"https://api.github.com/users/navis","html_url":"https://github.com/navis","followers_url":"https://api.github.com/users/navis/followers","following_url":"https://api.github.com/users/navis/following{/other_user}","gists_url":"https://api.github.com/users/navis/gists{/gist_id}","starred_url":"https://api.github.com/users/navis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navis/subscriptions","organizations_url":"https://api.github.com/users/navis/orgs","repos_url":"https://api.github.com/users/navis/repos","events_url":"https://api.github.com/users/navis/events{/privacy}","received_events_url":"https://api.github.com/users/navis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-10T05:36:45Z","updated_at":"2015-06-10T07:12:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/6736","html_url":"https://github.com/apache/spark/pull/6736","diff_url":"https://github.com/apache/spark/pull/6736.diff","patch_url":"https://github.com/apache/spark/pull/6736.patch"},"body":"    case cs @ CombineSum(expr) =>\r\n        val calcType = expr.dataType\r\n          expr.dataType match {\r\n            case DecimalType.Fixed(_, _) =>\r\n              DecimalType.Unlimited\r\n            case _ =>\r\n              expr.dataType\r\n          }\r\ncalcType is always expr.dataType. credits are all belong to IntelliJ"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/110625972","html_url":"https://github.com/apache/spark/pull/6736#issuecomment-110625972","issue_url":"https://api.github.com/repos/apache/spark/issues/6736","id":110625972,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T07:12:34Z","updated_at":"2015-06-10T07:12:34Z","body":"  [Test build #34575 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/34575/consoleFull) for   PR 6736 at commit [`20382c1`](https://github.com/apache/spark/commit/20382c1654dc609661b16b2f583dded7d815eb8b)."}}