Skip to content

Allow Range partitioning to satisfy KeyPartitioned distributions #23266

Description

@gene-bordegaray

Is your feature request related to a problem or challenge?

Follow-up to #23239, #23236
Related Epic: #22395.

Range partitioning provides the KeyPartitioned distribution guarantees but it is does not satisfy it in the general API Partitioning::satisfaction.

Describe the solution you'd like

Allow Partitoning::Range to generally satisfy Distribution::KeyPartitioned once the unary and multi-input semantics are clear. I would like to implement aggrgations, one type of partitioned joins, and possibly unions using this before generally satisfying.

Note: In #23239, satisfaction for aggregates privately for grouped aggregations so the behavior can be rolled out without changing joins or other operators yet. This also forces us to create temporary helpers to check satisfaction that can and should be eliminated once general satifaciton is accepted. These should be marked with TODOs and a link to this issue.

Describe alternatives you've considered

None

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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