hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7566) HIVE can't count hbase NULL column value properly
Date Thu, 06 Aug 2015 16:44:05 GMT

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

Aihua Xu commented on HIVE-7566:
--------------------------------

There is HIVE-5277 for the same issue.  I will resolve this as dup then.

> HIVE can't count hbase NULL column value properly
> -------------------------------------------------
>
>                 Key: HIVE-7566
>                 URL: https://issues.apache.org/jira/browse/HIVE-7566
>             Project: Hive
>          Issue Type: Bug
>          Components: HBase Handler
>    Affects Versions: 0.13.0
>         Environment: HIVE version 0.13.0
> HBase version 0.98.0
>            Reporter: Kent Kong
>
> HBase table structure is like this:
> table name : 'testtable'
> column family : 'data'
> column 1 : 'name'
> column 2 : 'color'
> HIVE mapping table is structure is like this:
> table name : 'hb_testtable'
> column 1 : 'name'
> column 2 : 'color'
> in hbase, put two rows
> James, blue
> May
> then do select in hive
> select * from hb_testtable where color is null
> the result is 
> May, NULL
> then try count 
> select count(*) from hb_testtable where color is null
> the result is 0, which should be 1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message