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

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

Pengcheng Xiong created HIVE-14026:
--------------------------------------

             Summary: 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)