Details
-
New Feature
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Follow-up to ARROW-13993, which implemented `hash_one` to select an arbitrary value, as the core engine lack support for ordering. I think `first` and `last` will still be in demand though, based on pandas and sql usage.
It could be done without core changes by using `min_max` on an array of indices. For that reason, maybe it would be better as `hash_{first,last}_index`, suitable for use with `take`.
Attachments
Issue Links
- links to