rubenada commented on code in PR #6477:
URL: https://github.com/apache/hive/pull/6477#discussion_r3250689068
##########
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/stats/FilterSelectivityEstimator.java:
##########
@@ -159,14 +163,18 @@ public Double visitCall(RexCall call) {
case GREATER_THAN_OR_EQUAL:
case LESS_THAN:
case GREATER_THAN: {
- selectivity = computeRangePredicateSelectivity(call, call.getKind());
+ selectivity = computeComparisonPredicateSelectivity(call,
call.getKind());
break;
}
case BETWEEN:
selectivity = computeBetweenPredicateSelectivity(call);
break;
+ case SEARCH:
+ selectivity = computeSearchSelectivity(call);
+ break;
+
Review Comment:
Agree. Moved back to original position.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]