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

ORC Vectorization DoubleColumnVector.isRepeating=false if all entries are NaN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • File Formats, Vectorization
    • None
    • Fix isRepeating checks for NaN in Float and Double vectorized readers

    Description

      The isRepeating=true check uses Java equality, which results in NaN != NaN comparison operations.

      The noNulls case needs the current check folded into the previous loop, while the hasNulls case needs a logical AND of the isNull[] field instead of == comparisons.

      Attachments

        1. HIVE-9711.3.patch
          5 kB
          Gopal Vijayaraghavan
        2. HIVE-9711.2.patch
          5 kB
          Gopal Vijayaraghavan
        3. HIVE-9711.1.patch
          5 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

              gopalv Gopal Vijayaraghavan
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: