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

Pengcheng Xiong updated HIVE-12381:
-----------------------------------
    Attachment: HIVE-12381.04.patch

> analyze table compute stats for table with special characters will wipe out 
> all the table stats
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-12381
>                 URL: https://issues.apache.org/jira/browse/HIVE-12381
>             Project: Hive
>          Issue Type: Bug
>         Environment: 
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-12381.01.patch, HIVE-12381.02.patch, 
> HIVE-12381.03.patch, HIVE-12381.04.patch
>
>
> repo:
> {code}
> drop table `t//`;
> create table `t//` (col string);
> insert into `t//` values(1);
> insert into `t//` values(null);
> analyze table `t//` compute statistics;
> explain select * from `t//`;
> {code}
> The result 
> {code}
> Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
> {code}
> is wrong



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

Reply via email to