Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
set hive.stats.column.autogather=true; create table dx2(a int,b int,d date); explain insert into dx2 values(1,1,'2011-11-11'); -- no compute_stats calls insert into dx2 values(1,1,'2011-11-11'); insert into dx2 values(1,1,'2001-11-11'); explain analyze table dx2 compute statistics for columns; -- as expected; has compute_stats calls analyze table dx2 compute statistics for columns; -- runs ok desc formatted dx2 d; -- looks good