Skip to content

Implement Range Repartitioning #22397

@gene-bordegaray

Description

@gene-bordegaray

Is your feature request related to a problem or challenge?

RepartitionExec rejects Partitioning::Range, so we cannot repartition rows into this layout.

Describe the solution you'd like

Add support for range repartitioning in RepartitionExec.

The implementation should:

  • Route rows to output partitions via range partitioning
  • Support single-key and compound-key range partitioning
  • Keep hash repartitioning as a fallback when range repartitioning is not requested / be applied.

Describe alternatives you've considered

Continue to use hash repartitioning as the only repartitioning. It is a good fallback, but it doesn't preserve / create range partitioning when a plan would benefit from a range-partitioned layout.

Additional context

Context: #21992

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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