You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "wuyi (Jira)" <ji...@apache.org> on 2019/11/19 07:44:00 UTC

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

wuyi created SPARK-29956:
----------------------------

             Summary: 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


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