Andrew Lamb created ARROW-11979:
-----------------------------------
Summary: [Rust] Combine limit into SortOptions
Key: ARROW-11979
URL: https://issues.apache.org/jira/browse/ARROW-11979
Project: Apache Arrow
Issue Type: Improvement
Reporter: Andrew Lamb
Assignee: Andrew Lamb
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`
--
This message was sent by Atlassian Jira
(v8.3.4#803005)