This is an automated email from the ASF dual-hosted git repository. lijibing pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push: new f3f9cba6bd3 [improvement](statistics)Set enableQueryCache to false for statistics queries. (#45474) (#45493) f3f9cba6bd3 is described below commit f3f9cba6bd3e7dee09b2747ba4eb3f71ed7ec713 Author: James <lijib...@selectdb.com> AuthorDate: Tue Dec 17 09:47:34 2024 +0800 [improvement](statistics)Set enableQueryCache to false for statistics queries. (#45474) (#45493) backport: https://github.com/apache/doris/pull/45474 --- .../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 718260a25b0..10fe21a7abf 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 @@ -202,6 +202,8 @@ public class StatisticsUtil { sessionVariable.enablePushDownMinMaxOnUnique = true; sessionVariable.enablePushDownStringMinMax = true; sessionVariable.enableUniqueKeyPartialUpdate = false; + sessionVariable.enableMaterializedViewRewrite = 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