Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6012

restore backward compatibility of arithmetic operations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • Query Processor
    • 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
      

      Attachments

        1. HIVE-6012.1.patch
          25 kB
          Jason Dere
        2. HIVE-6012.2.patch
          1.06 MB
          Jason Dere
        3. HIVE-6012.3.patch
          1.06 MB
          Jason Dere
        4. HIVE-6012.4.patch
          1.07 MB
          Jason Dere
        5. HIVE-6012.5.patch
          783 kB
          Jason Dere
        6. HIVE-6012.6.patch
          783 kB
          Jason Dere

        Issue Links

          Activity

            People

              jdere Jason Dere
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: