You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by li...@apache.org on 2026/04/03 09:02:34 UTC

(doris) branch master updated: [fix](fe) Enable fuzzy for enable_query_cache (#62087)

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

lihaopeng 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 9689b8288df [fix](fe) Enable fuzzy for enable_query_cache (#62087)
9689b8288df is described below

commit 9689b8288dfdfd125f719003e4e2cfa2de2958ae
Author: HappenLee <ha...@selectdb.com>
AuthorDate: Fri Apr 3 17:02:26 2026 +0800

    [fix](fe) Enable fuzzy for enable_query_cache (#62087)
    
    ## Summary
    
    Enable fuzzy for `enable_query_cache` session variable to match similar
    pattern with other cache variables.
    
    ## What problem does this PR solve?
    
    Issue Number: N/A
    
    Problem Summary: The `enable_query_cache` variable was missing the
    `fuzzy = true` attribute, which is inconsistent with other similar
    cache-related session variables like `enableHiveSqlCache`.
    
    ## Release note
    
    None
---
 fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 48880093347..139f4bd9fda 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
@@ -1438,7 +1438,7 @@ public class SessionVariable implements Serializable, Writable {
     @VariableMgr.VarAttr(name = ENABLE_HIVE_SQL_CACHE, fuzzy = false)
     public boolean enableHiveSqlCache = false;
 
-    @VariableMgr.VarAttr(name = ENABLE_QUERY_CACHE)
+    @VariableMgr.VarAttr(name = ENABLE_QUERY_CACHE, fuzzy = true)
     public boolean enableQueryCache = false;
 
     @VarAttr(name = QUERY_CACHE_FORCE_REFRESH)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org