alamb commented on code in PR #10508:
URL: https://github.com/apache/datafusion/pull/10508#discussion_r1604207154


##########
datafusion/optimizer/src/push_down_limit.rs:
##########
@@ -183,6 +169,65 @@ impl OptimizerRule for PushDownLimit {
     }
 }
 
+/// Wrap the input plan with a limit node
+///
+/// Original:
+/// ```text
+/// input
+/// ```
+///
+/// Return
+/// ```text
+/// Limit: skip=skip, fetch=fetch
+///  input
+/// ```
+fn make_limit(skip: usize, fetch: usize, input: LogicalPlan) -> LogicalPlan {

Review Comment:
   Good call, done in 325938016



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

Reply via email to