{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14828","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14828/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14828/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14828/events","html_url":"https://github.com/apache/spark/pull/14828","id":173430544,"number":14828,"title":"[SPARK-17258][SQL] Parse scientific decimal literals as decimals","user":{"login":"hvanhovell","id":9616802,"avatar_url":"https://avatars.githubusercontent.com/u/9616802?v=3","gravatar_id":"","url":"https://api.github.com/users/hvanhovell","html_url":"https://github.com/hvanhovell","followers_url":"https://api.github.com/users/hvanhovell/followers","following_url":"https://api.github.com/users/hvanhovell/following{/other_user}","gists_url":"https://api.github.com/users/hvanhovell/gists{/gist_id}","starred_url":"https://api.github.com/users/hvanhovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvanhovell/subscriptions","organizations_url":"https://api.github.com/users/hvanhovell/orgs","repos_url":"https://api.github.com/users/hvanhovell/repos","events_url":"https://api.github.com/users/hvanhovell/events{/privacy}","received_events_url":"https://api.github.com/users/hvanhovell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-26T11:21:12Z","updated_at":"2016-09-02T15:52:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14828","html_url":"https://github.com/apache/spark/pull/14828","diff_url":"https://github.com/apache/spark/pull/14828.diff","patch_url":"https://github.com/apache/spark/pull/14828.patch"},"body":"## What changes were proposed in this pull request?\r\nCurrently Spark SQL parses regular decimal literals (e.g. `10.00`) as decimals and scientific decimal literals (e.g. `10.0e10`) as doubles. The difference between the two confuses most users. This PR unifies the parsing behavior and also parses scientific decimal literals as decimals.\r\n\r\nThis implications in tests are limited to a single Hive compatibility test.\r\n\r\n## How was this patch tested?\r\nUpdated tests in `ExpressionParserSuite` and `SQLQueryTestSuite`."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/244414021","html_url":"https://github.com/apache/spark/pull/14828#issuecomment-244414021","issue_url":"https://api.github.com/repos/apache/spark/issues/14828","id":244414021,"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":"2016-09-02T15:52:43Z","updated_at":"2016-09-02T15:52:43Z","body":"**[Test build #64861 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64861/consoleFull)** for PR 14828 at commit [`302f55f`](https://github.com/apache/spark/commit/302f55f417994fd2016ae60d4c8dd4895f37dee6)."}}
{"actor":{"display_login":"SparkQA"}}