[
https://issues.apache.org/jira/browse/ARROW-5005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800975#comment-16800975
]
Francois Saint-Jacques commented on ARROW-5005:
-----------------------------------------------
The default implementation could work for some operations by using Take, but
it's preferable to have each aggregate provide a native implementation. Note
that masking is not just applicable to aggregates.
> [C++] Add support for filter mask in AggregateFunction
> ------------------------------------------------------
>
> Key: ARROW-5005
> URL: https://issues.apache.org/jira/browse/ARROW-5005
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Francois Saint-Jacques
> Assignee: Francois Saint-Jacques
> Priority: Major
> Fix For: 0.14.0
>
>
> The aggregate kernels don't support mask (the result of a filter). Add the
> the following method to `AggregateFunction`.
> {code:c++}
> virtual Status ConsumeWithFilter(const Array& input, const Array& mask, void*
> state) const = 0;
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)