Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Jul 29, 2024
1 parent bcac761 commit 47e9205
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 */
Expand Down

0 comments on commit 47e9205

Please sign in to comment.