You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2019/12/02 04:22:00 UTC

[jira] [Resolved] (SPARK-29956) A literal number with an exponent should be converted into Double

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

Wenchen Fan resolved SPARK-29956.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 26595
[https://github.com/apache/spark/pull/26595]

> A literal number with an exponent should be converted into Double
> -----------------------------------------------------------------
>
>                 Key: SPARK-29956
>                 URL: https://issues.apache.org/jira/browse/SPARK-29956
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: wuyi
>            Assignee: wuyi
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Currently, for a literal with an exponent (e.g. 1e-45), Spark will convert it into Decimal.
> However, according to the ansi standard, it should be converted into Double and this is what Presto does too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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