We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 314cb1e commit c167a0dCopy full SHA for c167a0d
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala
@@ -1464,8 +1464,6 @@ object EliminateLimits extends Rule[LogicalPlan] {
1464
def apply(plan: LogicalPlan): LogicalPlan = plan transformDown {
1465
case Limit(l, child) if canEliminate(l, child.maxRows) =>
1466
child
1467
- case LocalLimit(l, child) if canEliminate(l, child.maxRows) =>
1468
- child
1469
1470
case GlobalLimit(le, GlobalLimit(ne, grandChild)) =>
1471
GlobalLimit(Least(Seq(ne, le)), grandChild)
0 commit comments