Skip to content

Commit 2966802

Browse files
indentation
1 parent 6d08848 commit 2966802

File tree

1 file changed

+1
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ object EliminateSorts extends Rule[LogicalPlan] {
10571057
val newOrders = orders.filterNot(_.child.foldable)
10581058
if (newOrders.isEmpty) child else s.copy(order = newOrders)
10591059
case Sort(orders, false, child) if SortOrder.orderingSatisfies(child.outputOrdering, orders) =>
1060-
child
1060+
child
10611061
case s @ Sort(_, _, child) => s.copy(child = recursiveRemoveSort(child))
10621062
case j @ Join(originLeft, originRight, _, cond, _) if cond.forall(_.deterministic) =>
10631063
j.copy(left = recursiveRemoveSort(originLeft), right = recursiveRemoveSort(originRight))

0 commit comments

Comments
 (0)