phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3608) KeyRange interset should return EMPTY_RANGE when one of it is NULL_RANGE
Date Fri, 20 Jan 2017 15:39:27 GMT

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

Hudson commented on PHOENIX-3608:
---------------------------------

SUCCESS: Integrated in Jenkins build Phoenix-master #1537 (See [https://builds.apache.org/job/Phoenix-master/1537/])
PHOENIX-3608 KeyRange interset should return EMPTY_RANGE when one of it (rajeshbabu: rev e7ef25eca2468e6d0a154b5e3539219f07748f22)
* (edit) phoenix-core/src/main/java/org/apache/phoenix/query/KeyRange.java


> 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.4#6332)

Mime
View raw message