Skip to content

Commit

Permalink
Update QueryPlan.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
JiahuiJiang committed Apr 4, 2018
1 parent 5e83805 commit 8396dbb
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -103,7 +103,9 @@ abstract class QueryPlan[PlanType <: QueryPlan[PlanType]] extends TreeNode[PlanT
var changed = false

@inline def transformExpression(e: Expression): Expression = {
val newE = CurrentOrigin.withOrigin(e.origin) { f(e) }
val newE = CurrentOrigin.withOrigin(e.origin) {
f(e)
}
if (newE.fastEquals(e)) {
e
} else {
Expand Down

0 comments on commit 8396dbb

Please sign in to comment.