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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Function/UDF
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: