danny0405 commented on a change in pull request #13577:
URL: https://github.com/apache/flink/pull/13577#discussion_r505273968
##########
File path:
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/metadata/SelectivityEstimator.scala
##########
@@ -187,8 +188,8 @@ class SelectivityEstimator(rel: RelNode, mq:
FlinkRelMetadataQuery)
case IS_NOT_NULL =>
estimateIsNotNull(operands.head)
- case IN =>
- estimateIn(operands.head, operands.slice(1, operands.size))
+ case SEARCH =>
Review comment:
Yes, since 1.26. the `IN` constant rex call is not allowed, only in
sub-query.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]