Hive
  1. Hive
  2. HIVE-6012

restore backward compatibility of arithmetic operations

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.13.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      HIVE-5356 changed the behavior of some of the arithmetic operations, and the change is not backward compatible, as pointed out in this jira comment

      int / int => decimal
      float / float => double
      float * float => double
      float + float => double
      
      1. HIVE-6012.6.patch
        783 kB
        Jason Dere
      2. HIVE-6012.5.patch
        783 kB
        Jason Dere
      3. HIVE-6012.4.patch
        1.07 MB
        Jason Dere
      4. HIVE-6012.3.patch
        1.06 MB
        Jason Dere
      5. HIVE-6012.2.patch
        1.06 MB
        Jason Dere
      6. HIVE-6012.1.patch
        25 kB
        Jason Dere

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Jason Dere
              Reporter:
              Thejas M Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development