diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/visitor/DefaultExpressionRewriter.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/visitor/DefaultExpressionRewriter.java index 5809feea163251..7bdb5c02820b4f 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/visitor/DefaultExpressionRewriter.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/visitor/DefaultExpressionRewriter.java @@ -17,8 +17,8 @@ package org.apache.doris.nereids.trees.expressions.visitor; -import org.apache.doris.nereids.trees.expressions.CaseWhen; import org.apache.doris.nereids.trees.expressions.Expression; +import org.apache.doris.nereids.trees.expressions.WhenClause; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableList.Builder; @@ -35,8 +35,8 @@ public Expression visit(Expression expr, C context) { } @Override - public Expression visitCaseWhen(CaseWhen caseWhen, C context) { - return rewriteChildren(this, caseWhen, context); + public Expression visitWhenClause(WhenClause whenClause, C context) { + return rewriteChildren(this, whenClause, context); } /** rewriteChildren */