jorgecarleitao edited a comment on pull request #9722: URL: https://github.com/apache/arrow/pull/9722#issuecomment-800186893
I think that `SortOptions` is used on a per-column basis; it corresponds to how each column should be ordered (nulls first, descending). `limit` reflects how many entries should be outputted by `sort`, which IMO is column-independent. This is probably more evident in `lex_sort`, where a `SortOption` per column is passed. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
