You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/09/27 18:21:33 UTC
[jira] [Created] (HIVE-8283) Missing break in
FilterSelectivityEstimator#visitCall()
Ted Yu created HIVE-8283:
----------------------------
Summary: Missing break in FilterSelectivityEstimator#visitCall()
Key: HIVE-8283
URL: https://issues.apache.org/jira/browse/HIVE-8283
Project: Hive
Issue Type: Bug
Reporter: Ted Yu
{code}
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;
}
{code}
break is missing for NOT_EQUALS case. selectivity would be overwritten with 1/3.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)