Skip to content

[C++] Implement support for using selection vectors in scalar aggregate function kernels #21504

@asfimport

Description

@asfimport

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions