hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pengcheng Xiong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-12381) analyze table compute stats for table with special characters will wipe out all the table stats
Date Wed, 11 Nov 2015 01:31:10 GMT

     [ 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.01.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
>
>
> 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)

Mime
View raw message