You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/27 10:55:07 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #2624: limit_push_down is not working properly with OFFSET

alamb commented on issue #2624:
URL: https://github.com/apache/arrow-datafusion/issues/2624#issuecomment-1139509273

   What about consolidating Limit and Offset into `LimitWithOffset` (both logical and physical plans), with optional limit or offset:
   
   ```rust
     limit: Option<usize>,
     offset: Option<usize>
   ```
   
   Then when a limit / offset is pushed down, it can be transformed from `Limit(limit, offset)` to `Limit(limit+offset, 0)` ?


-- 
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: github-unsubscribe@arrow.apache.org

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