hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucas Bernardi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4364) Filters applied to columns not in the selected column list are ignored
Date Thu, 16 Aug 2012 14:28:38 GMT

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

Lucas Bernardi commented on HBASE-4364:
---------------------------------------

How about specifying filterColumns explictly on the client side?
So if i want to do something equivalent to select a, b from x where c>0 and d<1 in hbase
it would be
get.addColumn(a);
get.addColumn(b);
get.addFilterColumn(c);
get.addFilterColumn(d);

So the filter would only be applied on keyvalues for columns c and d.
If no filetrColumn is specified, then the filter would be applied on projected columns only.


                
> 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,
hbase-4364_trunk-v2.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

        

Mime
View raw message