You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2016/06/21 17:54:57 UTC

[jira] [Resolved] (HIVE-14026) data can not be retrieved

     [ https://issues.apache.org/jira/browse/HIVE-14026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pengcheng Xiong resolved HIVE-14026.
------------------------------------
    Resolution: Not A Problem

agree with [~sershe] as all the rows have the same key.....

> data can not be retrieved
> -------------------------
>
>                 Key: HIVE-14026
>                 URL: https://issues.apache.org/jira/browse/HIVE-14026
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>
> {code}
> DROP TABLE users;
> CREATE TABLE users(key string, state string, country string, country_id int)
> STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
> WITH SERDEPROPERTIES (
> "hbase.columns.mapping" = "info:state,info:country,info:country_id"
> );
> INSERT OVERWRITE TABLE users SELECT 'user1', 'IA', 'USA', 0 FROM src;
> select * from users;
> {code}
> The result is only one row:
> {code}
> user1   IA      USA     0
> {code}
> should be 500 rows.



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