[ https://issues.apache.org/jira/browse/ARROW-5005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17662027#comment-17662027 ]
Rok Mihevc commented on ARROW-5005: ----------------------------------- This issue has been migrated to [issue #21504|https://github.com/apache/arrow/issues/21504] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [C++] Implement support for using selection vectors in scalar aggregate > function kernels > ---------------------------------------------------------------------------------------- > > Key: ARROW-5005 > URL: https://issues.apache.org/jira/browse/ARROW-5005 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Francois Saint-Jacques > Priority: Major > > 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 (v8.20.10#820010)