[
https://issues.apache.org/jira/browse/HIVE-12381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pengcheng Xiong updated HIVE-12381:
-----------------------------------
Description:
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
was:
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 Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column
stats: NONE is wrong
> 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
>
> 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)