Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoliversun committed Oct 11, 2024
1 parent 867285c commit fd1b0a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ object DeltaRewriteTransformerRules {

val filterRule: Rule[SparkPlan] = (plan: SparkPlan) =>
plan.transformUp {
case FilterExec(condition, child) if condition.exists(containsIncrementMetricExpr) =>
case FilterExec(condition, child) if containsIncrementMetricExpr(condition) =>
DeltaFilterExecTransformer(condition, child)
}

Expand Down

0 comments on commit fd1b0a1

Please sign in to comment.