xiedeyantu commented on code in PR #4547:
URL: https://github.com/apache/calcite/pull/4547#discussion_r2365873505


##########
core/src/main/java/org/apache/calcite/tools/RelBuilder.java:
##########
@@ -3720,7 +3720,7 @@ public RelBuilder sort(Iterable<? extends RexNode> nodes) 
{
   }
 
   /** Creates a {@link Sort} by expressions, with limit and offset. */
-  public RelBuilder sortLimit(long offset, long fetch, RexNode... nodes) {
+  public RelBuilder sortLimit(Number offset, Number fetch, RexNode... nodes) {

Review Comment:
   I want to unify FETCH and OFFSET into Number, and later there will be places 
where it can be called directly, which may be more general. In fact, this PR 
already uses this API.



-- 
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]

Reply via email to