From 271a7fd37e81a0c9487a0b01c0963ee1ba14a468 Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Tue, 17 Dec 2024 18:38:49 +0800 Subject: [PATCH] fix: try to remove non-primary sort --- source/libs/planner/src/planOptimizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/planner/src/planOptimizer.c b/source/libs/planner/src/planOptimizer.c index 11cf9260816a..a23d9b85ceff 100644 --- a/source/libs/planner/src/planOptimizer.c +++ b/source/libs/planner/src/planOptimizer.c @@ -7555,7 +7555,7 @@ static const SOptimizeRule optimizeRuleSet[] = { {.pName = "HashJoin", .optimizeFunc = hashJoinOptimize}, {.pName = "StableJoin", .optimizeFunc = stableJoinOptimize}, {.pName = "GroupJoin", .optimizeFunc = groupJoinOptimize}, - {.pName = "sortNonPriKeyOptimize", .optimizeFunc = sortNonPriKeyOptimize}, + //{.pName = "sortNonPriKeyOptimize", .optimizeFunc = sortNonPriKeyOptimize}, {.pName = "SortPrimaryKey", .optimizeFunc = sortPrimaryKeyOptimize}, {.pName = "SortForjoin", .optimizeFunc = sortForJoinOptimize}, {.pName = "SmaIndex", .optimizeFunc = smaIndexOptimize},