Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-391

Change the default type of real values from FLOAT4 to FLOAT8 when parsing the user queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.0
    • Function/UDF
    • None

    Description

      FLOAT4 is default parsed float type in tajo.
      but it can cause some trobles when we use it as FLOAT8.

      for examples.
      0.4(f) will changed to 0.40000000000005(d)

      so it cause different result from java.Math functions.

      Attachments

        1. TAJO-391.patch
          14 kB
          DaeMyung Kang

        Activity

          People

            charsyam DaeMyung Kang
            charsyam DaeMyung Kang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: