etseidl opened a new pull request, #10104: URL: https://github.com/apache/arrow-rs/pull/10104
# Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. --> - Closes #10103. - Depends on #9619 # Rationale for this change With the addition of new `ColumnOrder` variants, the public function `sort_order_for_type` has become unwieldy. # What changes are included in this PR? Add a deprecation notice to `sort_order_for_type`, and add a new `pub(crate)` function `get_sort_order_for_type` to replace it. The preferred path to obtain a `SortOrder` is now via `ColumnOrder::sort_order`. # Are these changes tested? Covered by existing tests # Are there any user-facing changes? Yes, this deprecates the public `sort_order_for_type`. -- 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]
