[ 
https://issues.apache.org/jira/browse/PHOENIX-3608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966959#comment-15966959
 ] 

James Taylor commented on PHOENIX-3608:
---------------------------------------

Pinging [~rajeshbabu] & [[email protected]]. We need to add a test here to 
confirm this change is ok.

> 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
>             Fix For: 4.10.0, 4.8.2
>
>         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.15#6346)

Reply via email to