[
https://issues.apache.org/jira/browse/ARROW-5005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16804365#comment-16804365
]
Wes McKinney commented on ARROW-5005:
-------------------------------------
[~bkietz] the use of filters to improve performance is fairly specific to each
class of kernels -- it is especially impactful in the case of aggregates. I do
not think we should generalize prematurely in this case
> [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}
> The goal is to add support for AST similar to:
> {code:sql}
> SELECT AGG(x) FROM table WHERE pred;
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)