Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-41464: [Python] Fix StructArray.sort() for by=None (apache#4…
…1495) ### Rationale for this change Closes issue apache#41464. Fix `StructArray.sort` method's `by` param to work in the case of `by=None` which was documented to mean sort by all fields (the default), but would raise an exception. ### What changes are included in this PR? * Add a unit test with by=None in `test_struct_array_sort` that fails on main * Fix the sort method ### Are these changes tested? yes ### Are there any user-facing changes? yes * GitHub Issue: apache#41464 Authored-by: a-reich <[email protected]> Signed-off-by: Joris Van den Bossche <[email protected]>
- Loading branch information