ccoffline edited a comment on issue #4581: URL: https://github.com/apache/incubator-doris/issues/4581#issuecomment-698696772
Most of `Expr`s haven't set `selectivity` so I'll just list those that have. - `LikePredicate` - `InPredicate` - `IsNullPredicate` - `BinaryPredicate` - `CompoundPredicate` - `BoolLiteral` that #4590 has just added - `SlotRef` There are lots that need to modify. Since queries should not be affected, I'm thinking that `cardinality` of `SelectNode` should just set to `-1` when `computeSelectivity()` is not correct instead of hard preconditions that produce unknown error. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
