Skip to content

Commit

Permalink
Update RuleApplyPermanentViewMarker.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
AngersZhuuuu committed Nov 28, 2023
1 parent 5dbe232 commit 2113cf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class RuleApplyPermanentViewMarker extends Rule[LogicalPlan] {
plan mapChildren {
case p: PermanentViewMarker => p
case permanentView: View if hasResolvedPermanentView(permanentView) =>
val resolved = permanentView.child.transformAllExpressions {
val resolved = permanentView.transformAllExpressions {
case subquery: SubqueryExpression =>
subquery.withNewPlan(plan = PermanentViewMarker(subquery.plan, permanentView.desc))
}
Expand Down

0 comments on commit 2113cf5

Please sign in to comment.