beliefer commented on code in PR #35975:
URL: https://github.com/apache/spark/pull/35975#discussion_r847943296
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala:
##########
@@ -1256,6 +1273,25 @@ case class LocalLimit(limitExpr: Expression, child:
LogicalPlan) extends OrderPr
copy(child = newChild)
}
+/**
+ * A global (coordinated) limit with offset. This operator can skip at most
`offsetExpr` number and
+ * emit at most `limitExpr` number in total.
Review Comment:
1. The constructor do the limit.
2. OK.
3. The boundary conditions is also mentioned in `CheckAnalysis.scala`.
4. `Offset` is a logical representation and `GlobalLimitAndOffset` more
closer physical plan.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]