Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3608

KeyRange interset should return EMPTY_RANGE when one of it is NULL_RANGE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.10.0, 4.8.2
    • None
    • None

    Description

      Currently KeyRange.intersect(KeyRange range) returning EMPTY_RANGE only when the left side key range is null and right side is not null but we should return EMPTY_RANGE when any of the key range is null.

              if (this == IS_NULL_RANGE) {
                  if (range == IS_NULL_RANGE) {
                       return IS_NULL_RANGE;
                  }
                   return EMPTY_RANGE;
               }
      

      Attachments

        1. PHOENIX-3608.patch
          0.9 kB
          Rajeshbabu Chintaguntla

        Activity

          People

            rajeshbabu Rajeshbabu Chintaguntla
            rajeshbabu Rajeshbabu Chintaguntla
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: