beliefer commented on code in PR #36541:
URL: https://github.com/apache/spark/pull/36541#discussion_r873410416


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/limit.scala:
##########
@@ -278,9 +265,9 @@ case class GlobalLimitAndOffsetExec(
 }
 
 /**
- * Take the first limit elements as defined by the sortOrder, and do 
projection if needed.
- * This is logically equivalent to having a Limit operator after a 
[[SortExec]] operator,
- * or having a [[ProjectExec]] operator between them.
+ * Take the first `limit`` elements as defined by the sortOrder, then drop the 
first `offset`

Review Comment:
   ```suggestion
    * Take the first `limit` elements as defined by the sortOrder, then drop 
the first `offset`
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to