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

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

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.1.patch
          5 kB
          Gopal Vijayaraghavan
        2. HIVE-9711.2.patch
          5 kB
          Gopal Vijayaraghavan
        3. HIVE-9711.3.patch
          5 kB
          Gopal Vijayaraghavan

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment