[ 
https://issues.apache.org/jira/browse/ARROW-5005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francois Saint-Jacques updated ARROW-5005:
------------------------------------------
    Description: 
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}


  was:
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}



> [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)

Reply via email to