Skip to content

[C++][Python] Optimize aggregate functions to work with batches. #33595

@asfimport

Description

@asfimport

Most compute functions work with the dataset api and don't load columns. But aggregate functions which are associative could also work: min, max, any, all, sum, product. Even unique and value_counts.

A couple of implementation ideas:

  • expand the dataset api to support expressions which return scalars
  • add a BatchedArray type which is like a ChunkedArray but with lazy loading

Reporter: A. Coady / @coady

Note: This issue was originally created as ARROW-18433. 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