Skip to content

Commit 2f55ec0

Browse files
committed
add comment
1 parent 45ab8b5 commit 2f55ec0

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,6 +1451,7 @@ object PushPredicateThroughJoin extends Rule[LogicalPlan] with PredicateHelper {
14511451
}
14521452

14531453
/**
1454+
* This rule optimizes Limit operators by:
14541455
* 1. Eliminate [[Limit]] operators if it's child max row <= limit.
14551456
* 2. Combines two adjacent [[Limit]] operators into one, merging the
14561457
* expressions into one single expression.

0 commit comments

Comments
 (0)