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

ORC SARG literal creation for double from float may lead to wrong evaluation of SARG

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0, 0.13.1
    • 0.14.0
    • Query Processor
    • None

    Description

      e.g., expression like d = 0.22 where 0.22 is of float type, gets converted to double d = 0.219999986 in SARG creation. This will cause erroneous evaluation of SARG expression.

      Attachments

        1. HIVE-8460.1.patch
          4 kB
          Prasanth Jayachandran
        2. HIVE-8460.2.patch
          5 kB
          Prasanth Jayachandran

        Issue Links

          Activity

            People

              prasanth_j Prasanth Jayachandran
              ashutoshc Ashutosh Chauhan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: