csun5285 commented on code in PR #68021:
URL: https://github.com/apache/doris/pull/68021#discussion_r4022280021
##########
be/src/storage/predicate/like_column_predicate.h:
##########
@@ -89,7 +90,17 @@ class LikeColumnPredicate final : public ColumnPredicate {
}
return true;
}
- bool can_do_bloom_filter(bool ngram) const override { return ngram; }
+ bool can_do_bloom_filter(bool ngram) const override {
+ if (!ngram) {
+ return false;
+ }
+ // A pattern that can carry an escape is not supported by the ngram
index.
+ if (_state->has_custom_escape) {
Review Comment:
已删除
--
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]