[ 
https://issues.apache.org/jira/browse/PHOENIX-3608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajeshbabu Chintaguntla updated PHOENIX-3608:
---------------------------------------------
    Attachment: PHOENIX-3608.patch

Here is trivial patch. [~jamestaylor] please review.

> KeyRange interset should return EMPTY_RANGE when one of it is NULL_RANGE
> ------------------------------------------------------------------------
>
>                 Key: PHOENIX-3608
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3608
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>         Attachments: PHOENIX-3608.patch
>
>
> 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.
> {noformat}
>         if (this == IS_NULL_RANGE) {
>             if (range == IS_NULL_RANGE) {
>                  return IS_NULL_RANGE;
>             }
>              return EMPTY_RANGE;
>          }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to