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

PPD: Handle FLOAT boxing differently for single/double precision constants

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Types
    • Labels:
      None

      Description

      Constants like 0.1 and 0.3 are differently boxed based on intermediate precision of the compiler codepath.

      Disabling CBO produces 0.1BD constants which fail to box correctly to Double/Float.

      Enabling CBO fixes this issue, but cannot be applied all queries in Hive.

        Attachments

        1. HIVE-18627.1.patch
          10 kB
          Gopal Vijayaraghavan
        2. HIVE-18627.2.patch
          37 kB
          Gopal Vijayaraghavan
        3. HIVE-18627.3.patch
          16 kB
          Gopal Vijayaraghavan
        4. HIVE-18627.4.patch
          17 kB
          Gopal Vijayaraghavan

          Activity

            People

            • Assignee:
              gopalv Gopal Vijayaraghavan
              Reporter:
              gopalv Gopal Vijayaraghavan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: