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
Is your feature request related to a problem or challenge?
RepartitionExecrejectsPartitioning::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:
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