You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/09/10 01:26:08 UTC
[jira] [Commented] (HBASE-4364) Filters applied to columns not in
the selected column list are ignored
[ https://issues.apache.org/jira/browse/HBASE-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101641#comment-13101641 ]
Todd Lipcon commented on HBASE-4364:
------------------------------------
Apparently this is actually known behavior according to SingleColumnValueFilter. From the JavaDoc:
{noformat}
When using this filter on a {@link Scan} with specified
* inputs, the column to be tested should also be added as input (otherwise
* the filter will regard the column as missing).
{noformat}
IMO, it's a bug, though, not a feature! Filters with requirements like this should automatically push their column requirements through to the ExplicitColumnTracker.
> 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
> Reporter: Todd Lipcon
> Priority: Critical
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira