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

huajianlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 2fa7275c3f5 [fix](sql cache) inverted_index_max_expansions should be 
affectQueryResult (#57769)
2fa7275c3f5 is described below

commit 2fa7275c3f52192fed26fd7842e22316bc95c020
Author: 924060929 <[email protected]>
AuthorDate: Fri Nov 7 15:41:48 2025 +0800

    [fix](sql cache) inverted_index_max_expansions should be affectQueryResult 
(#57769)
    
    inverted_index_max_expansions should be affectQueryResult, sql cache
    should not return cache when inverted_index_max_expansions is changed
---
 fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java 
b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
index 5d96452898b..1b90a4c2a20 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
@@ -2306,6 +2306,7 @@ public class SessionVariable implements Serializable, 
Writable {
     public int invertedIndexConjunctionOptThreshold = 1000;
 
     @VariableMgr.VarAttr(name = INVERTED_INDEX_MAX_EXPANSIONS,
+            affectQueryResult = true,
             description = {"这个参数用来限制查询时扩展的词项(terms)的数量,以此来控制查询的性能",
                     "This parameter is used to limit the number of term 
expansions during a query,"
                     + " thereby controlling query performance"})


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

Reply via email to