Rajeshbabu Chintaguntla created PHOENIX-3608:
------------------------------------------------
Summary: 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
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)