Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-29956

A literal number with an exponent should be converted into Double

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Ngone51 wuyi
              Ngone51 wuyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: