a-reich commented on code in PR #41495:
URL: https://github.com/apache/arrow/pull/41495#discussion_r1594869330
##########
python/pyarrow/array.pxi:
##########
@@ -3925,7 +3925,8 @@ cdef class StructArray(Array):
tosort = self
indices = _pc().sort_indices(
tosort,
- options=_pc().SortOptions(sort_keys=[("", order)], **kwargs)
+ options=_pc().SortOptions(
+ sort_keys=[(field.name, order) for field in self.type],
**kwargs)
Review Comment:
I think I see what you mean, thanks! Pushed
https://github.com/apache/arrow/pull/41495/commits/52b9d2c8cf7e6c16adee9246e30d01e1a1715700.
--
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]