ARROW-13311: [C++][Documentation] Document hash aggregate kernels#10887
Closed
lidavidm wants to merge 13 commits intoapache:masterfrom
Closed
ARROW-13311: [C++][Documentation] Document hash aggregate kernels#10887lidavidm wants to merge 13 commits intoapache:masterfrom
lidavidm wants to merge 13 commits intoapache:masterfrom
Conversation
Member
Author
5e8e39a to
fd03cc7
Compare
Member
|
Thanks for doing this @lidavidm! Could you rebase to fix the conflict then request a review? Thanks! |
pitrou
reviewed
Aug 16, 2021
Member
pitrou
left a comment
There was a problem hiding this comment.
Thank you very much! Just a couple comments/questions.
Member
Author
pitrou
reviewed
Aug 16, 2021
pitrou
reviewed
Aug 16, 2021
ianmcook
reviewed
Aug 17, 2021
Member
Author
pitrou
approved these changes
Aug 18, 2021
Member
|
I pushed a number of minor changes. @nealrichardson @ianmcook Can you give this the final go when you're fine with the changes? |
ianmcook
reviewed
Aug 18, 2021
ianmcook
reviewed
Aug 18, 2021
ianmcook
reviewed
Aug 18, 2021
ianmcook
reviewed
Aug 18, 2021
Co-authored-by: Ian Cook <[email protected]>
Co-authored-by: Ian Cook <[email protected]>
ianmcook
reviewed
Aug 18, 2021
Co-authored-by: Ian Cook <[email protected]>
ianmcook
approved these changes
Aug 18, 2021
Member
ianmcook
left a comment
There was a problem hiding this comment.
LGTM! Thanks David and Antoine
nealrichardson
approved these changes
Aug 18, 2021
docs/source/cpp/compute.rst
Outdated
Comment on lines
294
to
296
| | hash_all | Unary | Boolean | Int64 | :struct:`ScalarAggregateOptions` | \(1) | | ||
| +---------------+-------+-------------+----------------+----------------------------------+-------+ | ||
| | hash_any | Unary | Any | Int64 | :struct:`ScalarAggregateOptions` | \(1) | |
Member
There was a problem hiding this comment.
Suggested change
| | hash_all | Unary | Boolean | Int64 | :struct:`ScalarAggregateOptions` | \(1) | | |
| +---------------+-------+-------------+----------------+----------------------------------+-------+ | |
| | hash_any | Unary | Any | Int64 | :struct:`ScalarAggregateOptions` | \(1) | | |
| | hash_all | Unary | Boolean | Boolean | :struct:`ScalarAggregateOptions` | \(1) | | |
| +---------------+-------+-------------+----------------+----------------------------------+-------+ | |
| | hash_any | Unary | Boolean | Boolean | :struct:`ScalarAggregateOptions` | \(1) | |
?
At least, the non-hash versions of any/all only work on boolean input, and return booleans (didn't check for the hashed version)
Member
Author
There was a problem hiding this comment.
Ah you're right, I probably forgot to fix it up after copy-paste. I've fixed these rows (+ hash_count).
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This adds a section about hash aggregates. Also, adds Kleene logic to the hash any/all kernels.