The aggregate kernels don't support mask (the result of a filter). Add the the following method to AggregateFunction.
virtual Status ConsumeWithFilter(const Array& input, const Array& mask, void* state) const = 0;
The goal is to add support for AST similar to:
SELECT AGG(x) FROM table WHERE pred;
Reporter: Francois Saint-Jacques / @fsaintjacques
Related issues:
Note: This issue was originally created as ARROW-5005. Please see the migration documentation for further details.