-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40165/
-----------------------------------------------------------
(Updated Nov. 23, 2015, 10:02 a.m.)
Review request for hive and Ashutosh Chauhan.
Repository: hive-git
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
Diffs (updated)
-----
ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java c50d5b6
ql/src/java/org/apache/hadoop/hive/ql/optimizer/index/RewriteQueryUsingAggregateIndexCtx.java
9acc7b7
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 69bb9d7
ql/src/test/queries/clientpositive/special_character_in_tabnames_1.q 7867ae1
ql/src/test/results/clientpositive/special_character_in_tabnames_1.q.out
bd0088a
Diff: https://reviews.apache.org/r/40165/diff/
Testing
-------
Thanks,
pengcheng xiong