Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.14.0
-
None
-
None
Description
case NOT_EQUALS: { selectivity = computeNotEqualitySelectivity(call); } case LESS_THAN_OR_EQUAL: case GREATER_THAN_OR_EQUAL: case LESS_THAN: case GREATER_THAN: { selectivity = ((double) 1 / (double) 3); break; }
break is missing for NOT_EQUALS case. selectivity would be overwritten with 1/3.
Attachments
Attachments
Issue Links
- relates to
-
HIVE-8315 CBO : Negate condition underestimates selectivity which results in an in-efficient plan
- Closed