Skip to content

Commit

Permalink
indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
allisonwang-db committed Oct 20, 2020
1 parent 6d08848 commit 2966802
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ object EliminateSorts extends Rule[LogicalPlan] {
val newOrders = orders.filterNot(_.child.foldable)
if (newOrders.isEmpty) child else s.copy(order = newOrders)
case Sort(orders, false, child) if SortOrder.orderingSatisfies(child.outputOrdering, orders) =>
child
child
case s @ Sort(_, _, child) => s.copy(child = recursiveRemoveSort(child))
case j @ Join(originLeft, originRight, _, cond, _) if cond.forall(_.deterministic) =>
j.copy(left = recursiveRemoveSort(originLeft), right = recursiveRemoveSort(originRight))
Expand Down

0 comments on commit 2966802

Please sign in to comment.