[ https://issues.apache.org/jira/browse/ARROW-15735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-15735: ----------------------------------- Labels: kernel pull-request-available (was: kernel) > [C++] Hash aggregate functions to return first and last value from a group. > --------------------------------------------------------------------------- > > Key: ARROW-15735 > URL: https://issues.apache.org/jira/browse/ARROW-15735 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ > Reporter: A. Coady > Assignee: Sanjiban Sengupta > Priority: Major > Labels: kernel, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > 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`. -- This message was sent by Atlassian Jira (v8.20.10#820010)