From 43aeae2f7087fa6acfc5b1fdfc8333c97f099cc4 Mon Sep 17 00:00:00 2001 From: 924060929 <924060929@qq.com> Date: Fri, 11 Oct 2024 19:43:56 +0800 Subject: [PATCH] query_cache_param --- .../plans/distribute/worker/job/AbstractUnassignedScanJob.java | 1 + 1 file changed, 1 insertion(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/distribute/worker/job/AbstractUnassignedScanJob.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/distribute/worker/job/AbstractUnassignedScanJob.java index 51cc12fba73e825..9be9ee5cdbf303b 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/distribute/worker/job/AbstractUnassignedScanJob.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/distribute/worker/job/AbstractUnassignedScanJob.java @@ -190,6 +190,7 @@ protected int degreeOfParallelism(int maxParallel) { return 1; } if (fragment.queryCacheParam != null) { + // backend need use one parallel for one tablet to look up tablet query cache return maxParallel; } if (scanNodes.size() == 1 && scanNodes.get(0) instanceof OlapScanNode) {