[
https://issues.apache.org/jira/browse/HIVE-12381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041250#comment-15041250
]
Lefty Leverenz commented on HIVE-12381:
---------------------------------------
Doc note: This removes *hive.stats.key.prefix.max.length* from HiveConf.java,
so the wiki needs to be updated with version information.
* [Configuration Properties -- hive.stats.key.prefix.max.length |
https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.stats.key.prefix.max.length]
> 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
> Labels: TODOC2.0
> Attachments: HIVE-12381.01.patch, HIVE-12381.02.patch,
> HIVE-12381.03.patch, HIVE-12381.04.patch, HIVE-12381.05.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)