This is an automated email from the ASF dual-hosted git repository. lijibing 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 86c3c7604b7 [improvement](statistics)Set enableQueryCache to false for statistics queries. (#45474) 86c3c7604b7 is described below commit 86c3c7604b77311924a2d20835bace2767b1e43e Author: James <lijib...@selectdb.com> AuthorDate: Mon Dec 16 21:54:59 2024 +0800 [improvement](statistics)Set enableQueryCache to false for statistics queries. (#45474) ### What problem does this PR solve? Set enableQueryCache to false for statistics queries. Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None --- .../src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java b/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java index dd037617ba6..6b50cd32a1e 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java +++ b/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java @@ -223,6 +223,8 @@ public class StatisticsUtil { sessionVariable.enablePushDownStringMinMax = true; sessionVariable.enableUniqueKeyPartialUpdate = false; sessionVariable.enableMaterializedViewRewrite = false; + sessionVariable.enableQueryCache = false; + sessionVariable.enableSqlCache = false; connectContext.setEnv(Env.getCurrentEnv()); connectContext.setDatabase(FeConstants.INTERNAL_DB_NAME); connectContext.setQualifiedUser(UserIdentity.ADMIN.getQualifiedUser()); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org