hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pengcheng xiong" <pxi...@hortonworks.com>
Subject Review Request 40165: analyze table compute stats for table with special characters will wipe out all the table stats
Date Wed, 11 Nov 2015 01:33:28 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40165/
-----------------------------------------------------------

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
-----

  ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java 6e4f474 
  ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java 02adf0c 
  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 1ca113c 
  ql/src/test/queries/clientpositive/special_character_in_tabnames_1.q 7540d27 
  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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message