Skip to content

Vectorize window functions #15607

@Dandandan

Description

@Dandandan

Is your feature request related to a problem or challenge?

[More info to be added later]

DataFusion has quite good support for window functions, but (part of) the window function implementation is not yet (I guess mostly because we don't run popular benchmarks with window functions, tpch and clickbench don't have any).

We can try giving it a similar treatment as aggregates (e.g. GroupsAccumulator).

Describe the solution you'd like

Design a strategy and implement vectorized code for window functions (sum/count, etc) where possible.
Benchmark the improvement.

Describe alternatives you've considered

No response

Additional context

[Add a profiling image / info here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceMake DataFusion faster

    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