Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.0, 1.1.0, 1.2.0, 2.0.0, 2.1.0
-
None
Description
create table t1 (a int); analyze table t1 compute statistics; analyze table t1 compute statistics for columns; select count(1) from t1 group by 1; set hive.compute.query.using.stats=true; select count(1) from t1 group by 1;
In both cases result set should be empty. However, with statsoptimizer on Hive returns one row with value 0.
Attachments
Attachments
Issue Links
- relates to
-
HIVE-18279 Incorrect condition in StatsOpimizer
- Resolved
- links to