hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [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.
Date Thu, 19 Jun 2014 18:22:25 GMT

    [ 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)

Mime
View raw message