Skip to content

[C++] Implement hashing, dictionary-encoding for StructArray #20581

@asfimport

Description

@asfimport

This is a central requirement for hash-aggregations such as

SELECT AGG_FUNCTION(expr)
FROM table
GROUP BY expr1, expr2, ...

The materialized keys in the GROUP BY section form a struct, which can be incrementally hashed to produce dictionary codes suitable for computing aggregates or any other purpose.

There are a few subtasks related to this, such as efficiently constructing a record (that can be hashed quickly) to identify each "row" in the struct. Maybe we should start with that first

Reporter: Wes McKinney / @wesm

Related issues:

Note: This issue was originally created as ARROW-3978. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions