Skip to content

Commit

Permalink
comment rewording
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Jun 6, 2024
1 parent b463c3f commit 149fd50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ abstract class QueryPlan[PlanType <: QueryPlan[PlanType]]
ruleId: RuleId = UnknownRuleId)(rule: PartialFunction[Expression, Expression])
: this.type = {
// SPARK-37448: performance optimization: set withOrigin = false in MapExpressions because
// transformDownWithPruning call `CurrentOrigin.withOrigin`:
// transformDownWithPruning calls `CurrentOrigin.withOrigin`:
mapExpressions(_.transformDownWithPruning(cond, ruleId)(rule), withOrigin = false)
}

Expand Down Expand Up @@ -207,7 +207,7 @@ abstract class QueryPlan[PlanType <: QueryPlan[PlanType]]
ruleId: RuleId = UnknownRuleId)(rule: PartialFunction[Expression, Expression])
: this.type = {
// SPARK-37448: performance optimization: set withOrigin = false in MapExpressions because
// transformUpWithPruning call `CurrentOrigin.withOrigin`:
// transformUpWithPruning calls `CurrentOrigin.withOrigin`:
mapExpressions(_.transformUpWithPruning(cond, ruleId)(rule), withOrigin = false)
}

Expand Down

0 comments on commit 149fd50

Please sign in to comment.