Skip to content

EPIC: Complete GroupValuesColumn for Faster Aggregation support #24268

Description

@alamb

Is your feature request related to a problem or challenge?

When running a query like SELECT ... GROUP BY x, y the DataFusion grouping operator computes / stores the group keys using an instance of the GroupValuesColumn trait.

This trait is a column-wise provides type-specific specializations under multi_group_by

If any one of the group by keys does not have a specialization of GroupValuesColumn DataFusion falls back to the general, but slower byte-encoded GroupValuesRows.

The currently supported types are listed in group_column_supported_type:

fn group_column_supported_type(data_type: &DataType) -> bool {

Definition of Done

This EPIC tracks completing the GroupValuesColumn type coverage so that GroupValuesRows can be removed

Subtasks

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestperformanceMake DataFusion faster

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions