[
https://issues.apache.org/jira/browse/SPARK-9281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reynold Xin updated SPARK-9281:
-------------------------------
Labels: releasenotes (was: )
> Parse literals as decimal in SQL
> --------------------------------
>
> Key: SPARK-9281
> URL: https://issues.apache.org/jira/browse/SPARK-9281
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Davies Liu
> Assignee: Davies Liu
> Labels: releasenotes
>
> Right now, we use double to parse all the float number in SQL. When it's used
> in expression together with DecimalType, it will turn the decimal into double
> as well.
> Also it will loss some precision when using double.
> It's better to parse the float number as decimal (we will know exactly the
> precision and scale is), it also work well with double.
> BTW, this is a break change.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]