{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10399","labels_url":"https://api.github.com/repos/apache/spark/issues/10399/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10399/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10399/events","html_url":"https://github.com/apache/spark/pull/10399","id":123141876,"number":10399,"title":"[SPARK-12443][SQL] encoderFor should support Decimal","user":{"login":"viirya","id":68855,"avatar_url":"https://avatars.githubusercontent.com/u/68855?v=3","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-20T07:45:55Z","updated_at":"2015-12-29T02:28:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10399","html_url":"https://github.com/apache/spark/pull/10399","diff_url":"https://github.com/apache/spark/pull/10399.diff","patch_url":"https://github.com/apache/spark/pull/10399.patch"},"body":"JIRA: https://issues.apache.org/jira/browse/SPARK-12443\r\n\r\n`constructorFor` will call `dataTypeFor` to determine if a type is `ObjectType` or not. If there is not case for `Decimal`, it will be recognized as `ObjectType` and causes the bug.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/167702564","html_url":"https://github.com/apache/spark/pull/10399#issuecomment-167702564","issue_url":"https://api.github.com/repos/apache/spark/issues/10399","id":167702564,"user":{"login":"viirya","id":68855,"avatar_url":"https://avatars.githubusercontent.com/u/68855?v=3","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T02:28:43Z","updated_at":"2015-12-29T02:28:43Z","body":"@rxin Could you check this? Thanks."}}