You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/06/19 20:22:25 UTC

[jira] [Commented] (HBASE-11377) when scan for a column family and the column family is not exist, the scan result will be the whole table.

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

Ted Yu commented on HBASE-11377:
--------------------------------

I can reproduce this problem in unit test.

Among the stock Filters, only DependentColumnFilter and SingleColumnValueFilter expose getFamily() method.
This makes matching underlying family with table description a bit tricky.

> when scan for a column family and the column family is not exist, the scan result will be the whole table.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-11377
>                 URL: https://issues.apache.org/jira/browse/HBASE-11377
>             Project: HBase
>          Issue Type: Bug
>          Components: Filters
>    Affects Versions: 0.94.11
>            Reporter: jialanping
>            Priority: Minor
>
> Test step:
> 1. create table "table_h_credential1";
> 2. insert some data (2 rows);
> 3. scan with a filter of a column family and column qualify, but the column family value is not match with the insert data;
> 4. the scan result give all the data in this table (2 rows), but as I think it should give null.



--
This message was sent by Atlassian JIRA
(v6.2#6252)