xiaokang commented on code in PR #34388:
URL: https://github.com/apache/doris/pull/34388#discussion_r1589862381


##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -830,9 +830,12 @@ Status 
SegmentIterator::_apply_index_except_leafnode_of_andnode() {
         bool is_support = pred_type == PredicateType::EQ || pred_type == 
PredicateType::NE ||
                           pred_type == PredicateType::LT || pred_type == 
PredicateType::LE ||
                           pred_type == PredicateType::GT || pred_type == 
PredicateType::GE ||
-                          pred_type == PredicateType::MATCH ||
-                          pred_type == PredicateType::IN_LIST ||
-                          pred_type == PredicateType::NOT_IN_LIST;
+                          pred_type == PredicateType::MATCH;
+        if 
(_opts.runtime_state->query_options().enable_inverted_compound_inlist) {
+            is_support |= (pred_type == PredicateType::IN_LIST ||
+                           pred_type == PredicateType::NOT_IN_LIST);
+        }
+        LOG(ERROR) << "is_support: " << is_support;

Review Comment:
   delete or change to DEBUG



##########
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java:
##########
@@ -464,6 +464,8 @@ public class SessionVariable implements Serializable, 
Writable {
 
     public static final String LIMIT_ROWS_FOR_SINGLE_INSTANCE = 
"limit_rows_for_single_instance";
 
+    public static final String ENABLE_INVERTED_COMPOUND_INLIST = 
"enable_inverted_compound_inlist";

Review Comment:
   enable_index_compound_inlist or enable_inverted_index_compound_inlist



-- 
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]

Reply via email to