This is an automated email from the ASF dual-hosted git repository. lijibing pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new cbf692230be branch-3.0: [improvement](statistics)Set enableQueryCache to false for statistics queries. #45474 (#45491) cbf692230be is described below commit cbf692230be11f3ff48751b48386db4abacd4e1f Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Mon Dec 16 23:34:02 2024 +0800 branch-3.0: [improvement](statistics)Set enableQueryCache to false for statistics queries. #45474 (#45491) Cherry-picked from #45474 Co-authored-by: James <lijib...@selectdb.com> --- .../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