diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PlanPostProcessors.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PlanPostProcessors.java index 599aa1a538faed..a8654e27291c06 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PlanPostProcessors.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PlanPostProcessors.java @@ -67,7 +67,7 @@ public List getProcessors() { } builder.add(new CommonSubExpressionOpt()); // DO NOT replace PLAN NODE from here - if (cascadesContext.getConnectContext().getSessionVariable().pushTopnToAgg) { + if (cascadesContext.getConnectContext().getSessionVariable().pushTopnToAgg) { builder.add(new PushTopnToAgg()); } builder.add(new TopNScanOpt());