diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PushdownFilterThroughProject.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PushdownFilterThroughProject.java index 85c1a8debae74b..5fc3670f377edb 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PushdownFilterThroughProject.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/processor/post/PushdownFilterThroughProject.java @@ -54,8 +54,7 @@ public Plan visitPhysicalFilter(PhysicalFilter filter, CascadesC project.child()).withPhysicalPropertiesAndStats(properties, stats); PhysicalPlan newChild = (PhysicalPlan) newFilter.accept(this, context); newChild = newChild.withPhysicalPropertiesAndStats(properties, stats); - PhysicalPlan ret = ((PhysicalPlan) (project.withChildren(newChild))) + return ((PhysicalPlan) (project.withChildren(newChild))) .withPhysicalPropertiesAndStats(properties, stats); - return ret; } }