Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Jun 17, 2024
1 parent ea9923f commit 6dac794
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ object RemoveSort extends RasRule[SparkPlan] {
out
}
override def shape(): Shape[SparkPlan] = pattern(
node[SparkPlan] { case p: GlutenPlan => p.requiredChildOrdering.exists(req => req.isEmpty) }
.build()
node[SparkPlan] {
case p: GlutenPlan => p.requiredChildOrdering.exists(req => req.isEmpty)
case _ => false
}.build()
)
}

0 comments on commit 6dac794

Please sign in to comment.