Uh oh!
There was an error while loading. Please reload this page.
ARROW-9055: [C++] Add sum/mean/minmax kernels for Boolean type - #7478
ARROW-9055: [C++] Add sum/mean/minmax kernels for Boolean type#7478kszucs wants to merge 11 commits into
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nealrichardson
commented
Jun 18, 2020
I pushed some changes to the R bindings to take advantage of this. I'll note that MinMax also doesn't support boolean and probably should. |
There was a problem hiding this comment.
BooleanArray has no raw_values() method.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
So these were returning the types' extreme values.
Uh oh!
There was an error while loading. Please reload this page.
nealrichardson
left a comment
There was a problem hiding this comment.
From the R side, this LGTM
kszucs
commented
Jun 24, 2020
ping @wesm |
wesm
commented
Jun 24, 2020
Looking |
wesm
left a comment
There was a problem hiding this comment.
The min/max implementation seems more complicated / less efficient than it needs to be, and I think the unit test setup could be simplified, but otherwise this looks OK
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
kszucs
commented
Jun 26, 2020
@ursabot build |
wesm
left a comment
There was a problem hiding this comment.
+1. We will have to resolve the sum([]) -> null/0 by introducing a "minimum valid values" option.
- minimum # valid values == 0 -> 0
- minimum # valid values == 1 -> null
Do we already have a JIRA to track this? EDIT -> it is mentioned in ARROW-9054 |
No description provided.