This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 72026778fe9bbec4961158c369f3584990c188e8
Author: zxealous <[email protected]>
AuthorDate: Wed Jan 24 17:46:30 2024 +0800

    [optimize](inverted index) Use inverted index filter null field (#30237)
---
 be/src/olap/rowset/segment_v2/segment_iterator.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/be/src/olap/rowset/segment_v2/segment_iterator.cpp 
b/be/src/olap/rowset/segment_v2/segment_iterator.cpp
index 0cf8ffeffa1..e5725e6fe6e 100644
--- a/be/src/olap/rowset/segment_v2/segment_iterator.cpp
+++ b/be/src/olap/rowset/segment_v2/segment_iterator.cpp
@@ -852,6 +852,8 @@ bool 
SegmentIterator::_check_apply_by_inverted_index(ColumnPredicate* pred, bool
         // can apply 'match qeury' and 'equal query' and 'list query' for 
fulltext index.
         return (pred_in_compound ? pred->type() == PredicateType::MATCH
                                  : (pred->type() == PredicateType::MATCH ||
+                                    pred->type() == PredicateType::IS_NULL ||
+                                    pred->type() == PredicateType::IS_NOT_NULL 
||
                                     
PredicateTypeTraits::is_equal_or_list(pred->type())));
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to