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

Hive QL : "not in" clause gives incorrect results when type coercion cannot take place.

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

    Description

      There are certain scenarios where "not in" clause gives incorrect results when type coercion cannot take place. 

      These occur when the in clause contains at least one operand which cannot be type-coerced to the column on which the in clause is being applied to. 

       

      Please refer to the attached query examples for more details. 

      Attachments

        1. not_in_examples.q
          0.3 kB
          Anmol Sundaram

        Activity

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

          People

            AnmolSun Anmol Sundaram Assign to me
            AnmolSun Anmol Sundaram
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment