[
https://issues.apache.org/jira/browse/HBASE-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435340#comment-13435340
]
Zhihong Ted Yu commented on HBASE-4364:
---------------------------------------
I just found that Grace provided a patch some time ago.
But the patch doesn't compile:
{code}
[ERROR]
/Users/zhihyu/trunk-hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/filter/FilterWrapper.java:[41,7]
org.apache.hadoop.hbase.filter.FilterWrapper is not abstract and does not
override abstract method sanityCheck(org.apache.hadoop.hbase.client.Scan) in
org.apache.hadoop.hbase.filter.Filter
{code}
@Lucas:
You can use that as a starting point.
@Grace:
You are welcome to refine your patch.
> Filters applied to columns not in the selected column list are ignored
> ----------------------------------------------------------------------
>
> Key: HBASE-4364
> URL: https://issues.apache.org/jira/browse/HBASE-4364
> Project: HBase
> Issue Type: Bug
> Components: filters
> Affects Versions: 0.90.4, 0.92.0, 0.94.0
> Reporter: Todd Lipcon
> Priority: Critical
> Attachments:
> HBASE-4364-failing-test-with-simplest-custom-filter.patch,
> hbase-4364_trunk.patch
>
>
> For a scan, if you select some set of columns using addColumns(), and then
> apply a SingleColumnValueFilter that restricts the results based on some
> other columns which aren't selected, then those filter conditions are ignored.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira