From bb32a1a4818bff9f0d852c95e8966011a746a232 Mon Sep 17 00:00:00 2001 From: 924060929 <924060929@qq.com> Date: Thu, 29 Aug 2024 14:45:56 +0800 Subject: [PATCH] fix --- fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java index e8e89b1d8617d5a..c06baa2c18bc81e 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java +++ b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java @@ -1904,7 +1904,7 @@ protected void computeFragmentHosts() throws Exception { && !fragment.hasNullAwareLeftAntiJoin() && useNereids; boolean ignoreStorageDataDistribution = forceToLocalShuffle || (node.isPresent() && node.get().ignoreStorageDataDistribution(context, addressToBackendID.size()) - && useNereids); + && useNereids) && fragment.queryCacheParam == null; if (node.isPresent() && ignoreStorageDataDistribution) { expectedInstanceNum = Math.max(expectedInstanceNum, 1); // if have limit and no conjuncts, only need 1 instance to save cpu and