Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
None
-
None
-
None
Description
The `sort_limit` kernel was added by @sundy-li in https://github.com/apache/arrow/pull/9602
While writing some doc examples in https://github.com/apache/arrow/pull/9721, it occured to me we could potentially simplify the API so I figured I would offer a proposed PR for comment
- Rationale
Since we already have a `SortOptions` structure that controls sorting options, we could also add the `limit` to that structure rather than adding a new `sort_limit` function and still avoid changing the API
- Changes
Move the `limit` option to `SortOptions`
Attachments
Issue Links
- links to