forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-34911: [C++] Add first and last aggregator (apache#34912)
### Rationale for this change This PR adds "first" and "last" aggregator and support using those with Acero's segmented aggregation. ### What changes are included in this PR? - [x] Numeric Scalar Aggregator (bool, int types, floating types) - [x] Numeric Hash Aggregator (bool, int types, floating types) - [x] Docstring - [x] Non-Numeric Scalar Aggregator (string, binary, fixed binary, temporal) - [x] Non-Numeric Hash Aggregator (string, binary, fixed binary, temporal) - [x] Add `ordered` flag in aggregate kernels - [x] Implement and test skip null - [x] Update compute.rst ### Are these changes tested? - [x] Compute Kernel Test (Scalar Kernels, all supported datatypes) - [x] Hash Aggregate Test (Hash Kernels, all supported datatypes) - [x] Segmented Aggregation Test (Both Scalar and Hash Kernels) ### Are there any user-facing changes? Yes. Added First and Last aggregator. Authored-by: Li Jin <ice.xelloss@gmail.com> Signed-off-by: Weston Pace <weston.pace@gmail.com>
- Loading branch information
1 parent
2f87365
commit 5a80507
Showing
13 changed files
with
1,648 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.