gene-bordegaray opened a new issue, #22397:
URL: https://github.com/apache/datafusion/issues/22397
### 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
Current code locations:
- `datafusion/physical-plan/src/repartition/mod.rs`
- range execution is not implemented in `BatchPartitioner`
- changing partition counts with range partitioning is not implemented
- execution path rejects range partitioning
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]