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

ORC PPD - fix fuzzy case evaluation of IS_NULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.15.0
    • 1.1.0
    • File Formats
    • None
    • Fix ORC IS_NULL predicate for columns with some nulls

    Description

      CLEAR LIBRARY CACHE

      ORC PPD returns IS_NULL wrong for the fuzz case of some-nulls.

      The code-flow in effect should be

      if (min == null) {
        // all nulls
        return YES;
      } else {
        if (hasNull == true) {
           // some nulls
           return YES_NO; //maybe
        }
        // no nulls
        return NO;
      }
      

      Attachments

        1. HIVE-9443.3.patch
          3 kB
          Gopal Vijayaraghavan
        2. HIVE-9443.2.patch
          3 kB
          Gopal Vijayaraghavan
        3. HIVE-9443.1.patch
          0.8 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: