Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Impala 2.2
-
None
-
None
Description
If a table has a TINYINT partition column, COMPUTE STATS will always set the number of rows for all partitions to be 0 (the table-wide row count remains accurate).
This is because a bug in PrintVal() in hs2-util.cc does not correctly cast 8-bit values to integers, causing stringstream::operator<< to interpret them as characters and printing an ASCII character rather than a string representation of an integer.