Pengcheng Xiong created HIVE-14028:
--------------------------------------

             Summary: stats is not updated
                 Key: HIVE-14028
                 URL: https://issues.apache.org/jira/browse/HIVE-14028
             Project: Hive
          Issue Type: Sub-task
            Reporter: Pengcheng Xiong
            Assignee: 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;

desc formatted users;
{code}
the result is
{code}
#### A masked pattern was here ####
Table Type:             MANAGED_TABLE
Table Parameters:
        COLUMN_STATS_ACCURATE   {\"BASIC_STATS\":\"true\"}
        numFiles                0
        numRows                 0
        rawDataSize             0
        storage_handler         org.apache.hadoop.hive.hbase.HBaseStorageHandler
        totalSize               0
{code}



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

Reply via email to