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 7290ebb commit bcac761
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

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 com.google.common.collect.ImmutableList;
Expand All @@ -33,6 +34,11 @@ public Expression visit(Expression expr, C context) {
return rewriteChildren(this, expr, context);
}

@Override
public Expression visitCaseWhen(CaseWhen caseWhen, C context) {
return rewriteChildren(this, caseWhen, context);
}

/** rewriteChildren */
public static final <E extends Expression, C> E rewriteChildren(
ExpressionVisitor<Expression, C> rewriter, E expr, C context) {
Expand Down

0 comments on commit bcac761

Please sign in to comment.