You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/01/21 00:13:40 UTC

[jira] [Resolved] (SPARK-12848) Parse numbers as decimals rather than doubles

     [ https://issues.apache.org/jira/browse/SPARK-12848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reynold Xin resolved SPARK-12848.
---------------------------------
       Resolution: Fixed
         Assignee: Herman van Hovell
    Fix Version/s: 2.0.0

> Parse numbers as decimals rather than doubles
> ---------------------------------------------
>
>                 Key: SPARK-12848
>                 URL: https://issues.apache.org/jira/browse/SPARK-12848
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Davies Liu
>            Assignee: Herman van Hovell
>             Fix For: 2.0.0
>
>
> Right now, Hive parser will parse 1.23 as double, when it's used with decimal columns, you will turn the decimal into double, lose the precision.
> We should follow most database had done, parse 1.23 as double, it will be converted into double when used with double.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org