hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shuaifeng Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13122) Improve efficiency for return codes of some filters
Date Wed, 04 Mar 2015 03:17:06 GMT

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

Shuaifeng Zhou commented on HBASE-13122:
----------------------------------------

That's a good point.
Accurately, there should be a return code "NEXT_FAMILY", so the return code should be next_family.
But currently, we have no this code. And if there is multi-family, next_row does the work,
scan jump to next family if return code is NEXT_ROW.
Maybe lately, we should add a return code "NEXT_FAMILY", but it's a big change ...

> Improve efficiency for return codes of some filters
> ---------------------------------------------------
>
>                 Key: HBASE-13122
>                 URL: https://issues.apache.org/jira/browse/HBASE-13122
>             Project: HBase
>          Issue Type: Improvement
>          Components: Filters
>    Affects Versions: 0.94.24, 1.0.1, 0.98.10.1
>            Reporter: Shuaifeng Zhou
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: 13122-master.patch, 13122.patch
>
>
> ColumnRangeFilter:
>  when minColumnInclusive is false, it means all the cells at the current row&column
not fit the condition, so it should skip to next column, return code should be NEXT_COL, not
SKIP.
> FamilyFilter is the similar sitution.
> Currently, SKIP will not causing error, but not efficent.



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

Mime
View raw message