Skip to content

Commit

Permalink
[SPARK-48466][SQL][FOLLOWUP] Fix missing pattern match in EmptyRelati…
Browse files Browse the repository at this point in the history
…onExec

### What changes were proposed in this pull request?

Fixed a missing pattern match introduced in #46830

Sorry for the silly mistake...

### Why are the changes needed?

### Does this PR introduce _any_ user-facing change?
NO

### How was this patch tested?
Existing tests

### Was this patch authored or co-authored using generative AI tooling?
NO

Closes #47089 from liuzqt/SPARK-48466.

Authored-by: Ziqi Liu <ziqi.liu@databricks.com>
Signed-off-by: Gengliang Wang <gengliang@apache.org>
  • Loading branch information
liuzqt authored and gengliangwang committed Jun 25, 2024
1 parent 068be4b commit 5928908
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ case class EmptyRelationExec(@transient logical: LogicalPlan) extends LeafExecNo
logical.foreach {
case LogicalQueryStage(_, physical) =>
physical.cleanupResources()
case _ =>
}
super.cleanupResources()
}
Expand Down

0 comments on commit 5928908

Please sign in to comment.