Pengcheng Xiong created HIVE-16379:
--------------------------------------

             Summary: Can not compute column stats when partition column is 
decimal 
                 Key: HIVE-16379
                 URL: https://issues.apache.org/jira/browse/HIVE-16379
             Project: Hive
          Issue Type: Sub-task
            Reporter: Pengcheng Xiong
            Assignee: Pengcheng Xiong


to repo, run 
{code}
et hive.compute.query.using.stats=false;
set hive.stats.column.autogather=false;

drop table if exists partcoltypeothers;
create table partcoltypeothers (key int, value string) partitioned by (decpart 
decimal(6,2), datepart date);

set hive.typecheck.on.insert=false;
insert into partcoltypeothers partition (decpart = 1000.01BD, datepart = date 
'2015-4-13') select key, value from src limit 10;
show partitions partcoltypeothers;

analyze table partcoltypeothers partition (decpart = 1000.01BD, datepart = date 
'2015-4-13') compute statistics for columns;
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to